Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007645/0.007645, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 198.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 472.6 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9575/0.9589, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003043/0.962, allocations: 1.739 MB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.9635, allocations: 0.9056 MB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.9636, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.9638, allocations: 27.67 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.9642, allocations: 119.4 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.9646, allocations: 147.7 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.9648, allocations: 243.4 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.965, allocations: 33.66 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.9651, allocations: 111.7 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009667/0.9748, allocations: 1.709 MB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.9749, allocations: 16 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.975, allocations: 43.97 kB / 1.231 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.9751, allocations: 35.91 kB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.9752, allocations: 95.5 kB / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.9756, allocations: 220.1 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.9756, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9756, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9756, allocations: 3.938 kB / 1.231 GB, free: 8.523 MB / 0.9512 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.0007879/0.9764, allocations: 0.5487 MB / 1.231 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.9765, allocations: 16.03 kB / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.9765, allocations: 24.83 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.9768, allocations: 239.5 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.9768, allocations: 15.94 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.9769, allocations: 12 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.977, allocations: 93.64 kB / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.9771, allocations: 0 / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9771, allocations: 0 / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9771, allocations: 4 kB / 1.232 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.9772, allocations: 59.86 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.978, allocations: 460.5 kB / 1.232 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.9784, allocations: 142.7 kB / 1.232 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.9785, allocations: 36.84 kB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.9785, allocations: 0 / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.9787, allocations: 111.4 kB / 1.233 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 3.617e-06/0.9788, allocations: 7.938 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003242/0.9791, allocations: 167.8 kB / 1.233 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.9791, allocations: 59.39 kB / 1.233 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.9793, allocations: 194.7 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.9794, allocations: 33.7 kB / 1.233 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.9794, allocations: 124.5 kB / 1.233 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.9795, allocations: 35.7 kB / 1.233 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.9796, allocations: 57.67 kB / 1.233 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.9797, allocations: 330.8 kB / 1.234 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.9798, allocations: 35.98 kB / 1.234 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.98, allocations: 127.5 kB / 1.234 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.9801, allocations: 104.1 kB / 1.234 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9801, allocations: 0 / 1.234 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002274/0.9804, allocations: 152 kB / 1.234 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9804, allocations: 11.94 kB / 1.234 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.9804, allocations: 3.938 kB / 1.234 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.9804, allocations: 0 / 1.234 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.9805, allocations: 20.11 kB / 1.234 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9805, allocations: 4 kB / 1.234 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.9807, allocations: 23.94 kB / 1.234 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.9807, allocations: 4 kB / 1.234 GB, free: 5.035 MB / 0.9512 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.0001198/0.9809, allocations: 151.9 kB / 1.234 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.9809, allocations: 19.84 kB / 1.234 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.9809, allocations: 17.88 kB / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.981, allocations: 4 kB / 1.234 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.981, allocations: 4 kB / 1.234 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.981, allocations: 3.984 kB / 1.234 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.9816, allocations: 494.1 kB / 1.235 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9816, allocations: 0 / 1.235 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.9816, allocations: 11.94 kB / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9816, allocations: 0 / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.9817, allocations: 3.984 kB / 1.235 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.9817, allocations: 7.938 kB / 1.235 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9817, allocations: 4 kB / 1.235 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.9819, allocations: 223.4 kB / 1.235 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.982, allocations: 92.95 kB / 1.235 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.982, allocations: 4 kB / 1.235 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.9822, allocations: 15.92 kB / 1.235 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.9822, allocations: 19.97 kB / 1.235 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.9823, allocations: 12 kB / 1.235 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001171/0.9824, allocations: 143 kB / 1.235 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9824, allocations: 0 / 1.235 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003041/0.9827, allocations: 55.88 kB / 1.235 GB, free: 3.668 MB / 0.9512 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.0003162/0.983, allocations: 181.5 kB / 1.235 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.9832, allocations: 107.7 kB / 1.236 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9833, allocations: 0 / 1.236 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.9833, allocations: 51.92 kB / 1.236 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.9837, allocations: 57.7 kB / 1.236 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.9843, allocations: 313.5 kB / 1.236 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.9846, allocations: 0.7281 MB / 1.237 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.261e-05/0.9847, allocations: 21.53 kB / 1.237 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.9847, allocations: 19.44 kB / 1.237 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.9847, allocations: 0 / 1.237 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of Templates: time 0.007396/0.9921, allocations: 3.733 MB / 1.24 GB, free: 14.48 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches