Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 108.6 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 199.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.9399, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00356/0.9435, allocations: 1.749 MB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.9452, allocations: 0.91 MB / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.9453, allocations: 3.938 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.9456, allocations: 35.66 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.946, allocations: 123.4 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.9464, allocations: 147.7 kB / 1.272 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.9467, allocations: 247.4 kB / 1.272 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.9469, allocations: 27.5 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.947, allocations: 115.6 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/0.9632, allocations: 2.029 MB / 1.274 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.9633, allocations: 16 kB / 1.274 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.9634, allocations: 39.98 kB / 1.274 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.9635, allocations: 35.84 kB / 1.274 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.9636, allocations: 95.5 kB / 1.274 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.9641, allocations: 223.1 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9641, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9641, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9641, allocations: 4 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009554/0.9651, allocations: 0.5564 MB / 1.275 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9651, allocations: 12.03 kB / 1.275 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.9651, allocations: 34.75 kB / 1.275 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.9652, allocations: 20.84 kB / 1.275 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.9656, allocations: 247.4 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.9656, allocations: 12 kB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.9656, allocations: 16 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.9658, allocations: 97.58 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.9658, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9659, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.9659, allocations: 4 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.966, allocations: 55.92 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.9669, allocations: 460.5 kB / 1.276 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.9673, allocations: 130.7 kB / 1.276 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.9674, allocations: 40.84 kB / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.9674, allocations: 0 / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.9677, allocations: 118.7 kB / 1.276 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.9677, allocations: 0 / 1.276 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003681/0.9681, allocations: 161.6 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.9682, allocations: 55.41 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.9684, allocations: 204.3 kB / 1.277 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.9684, allocations: 33.7 kB / 1.277 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.9685, allocations: 116.5 kB / 1.277 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.9686, allocations: 43.67 kB / 1.277 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.9687, allocations: 57.67 kB / 1.277 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9689, allocations: 326.8 kB / 1.277 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.9689, allocations: 39.92 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.9692, allocations: 130.2 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.9693, allocations: 98.41 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9693, allocations: 4 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002859/0.9696, allocations: 155.2 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9696, allocations: 8 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9697, allocations: 0 / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9697, allocations: 0 / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.9697, allocations: 23.92 kB / 1.277 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9698, allocations: 7.938 kB / 1.278 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.97, allocations: 27.88 kB / 1.278 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.97, allocations: 8.125 kB / 1.278 GB, free: 12.39 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.9701, allocations: 137.6 kB / 1.278 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.9702, allocations: 19.89 kB / 1.278 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.9702, allocations: 17.92 kB / 1.278 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.9702, allocations: 7.984 kB / 1.278 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9702, allocations: 3.938 kB / 1.278 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9702, allocations: 0 / 1.278 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.971, allocations: 0.4904 MB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.971, allocations: 0 / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.971, allocations: 11.94 kB / 1.278 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.971, allocations: 0 / 1.278 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.971, allocations: 3.938 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.971, allocations: 7.984 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.971, allocations: 0 / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.9713, allocations: 230.2 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.9714, allocations: 93 kB / 1.279 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.9714, allocations: 7.938 kB / 1.279 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.9715, allocations: 11.98 kB / 1.279 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.9716, allocations: 23.91 kB / 1.279 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.9716, allocations: 12 kB / 1.279 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001406/0.9718, allocations: 144.2 kB / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9718, allocations: 0 / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003058/0.9721, allocations: 51.89 kB / 1.279 GB, free: 11.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.9731, allocations: 0.8325 MB / 1.28 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.9733, allocations: 103.7 kB / 1.28 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9733, allocations: 0 / 1.28 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.9734, allocations: 54.59 kB / 1.28 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.9739, allocations: 50.58 kB / 1.28 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.9763, allocations: 1.895 MB / 1.282 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.9767, allocations: 0.7164 MB / 1.282 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.9768, allocations: 25.53 kB / 1.282 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.9769, allocations: 59.41 kB / 1.282 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/0.9769, allocations: 0 / 1.282 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/1.01, allocations: 5.626 MB / 1.288 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.421, allocations: 7.922 kB / 1.288 GB, free: 1.727 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.650353586766869]