Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009638, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003734, allocations: 8 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8087, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002455/0.8112, allocations: 1.539 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.813, allocations: 0.9204 MB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.8131, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.8134, allocations: 23.8 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.8138, allocations: 99.64 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.8142, allocations: 134.2 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.8146, allocations: 235.3 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.8147, allocations: 25.66 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.8149, allocations: 103.7 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0547/0.8696, allocations: 3.604 MB / 1.03 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.573e-05/0.8698, allocations: 16 kB / 1.03 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.8699, allocations: 27.98 kB / 1.03 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.87, allocations: 31.84 kB / 1.03 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.8702, allocations: 109.3 kB / 1.03 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.8704, allocations: 139.7 kB / 1.031 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.887e-05/0.8704, allocations: 11.86 kB / 1.031 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8705, allocations: 0 / 1.031 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.8705, allocations: 0 / 1.031 GB, free: 9.754 MB / 0.7794 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.0008308/0.8713, allocations: 0.5138 MB / 1.031 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8714, allocations: 12.03 kB / 1.031 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.8714, allocations: 16.75 kB / 1.031 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.8718, allocations: 251.4 kB / 1.031 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.8718, allocations: 12 kB / 1.031 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.8718, allocations: 12 kB / 1.031 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.872, allocations: 97.64 kB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.8721, allocations: 0 / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.8721, allocations: 3.984 kB / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.8721, allocations: 4 kB / 1.031 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.8722, allocations: 51.97 kB / 1.031 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.8731, allocations: 484.3 kB / 1.032 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.8735, allocations: 154.7 kB / 1.032 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.8736, allocations: 40.72 kB / 1.032 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.8736, allocations: 12 kB / 1.032 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.8738, allocations: 103.3 kB / 1.032 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.8739, allocations: 0 / 1.032 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003464/0.8742, allocations: 169.2 kB / 1.032 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.8743, allocations: 55.41 kB / 1.032 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.8745, allocations: 194.6 kB / 1.033 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.8745, allocations: 37.7 kB / 1.033 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.8746, allocations: 116.5 kB / 1.033 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.8747, allocations: 43.53 kB / 1.033 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.8747, allocations: 29.7 kB / 1.033 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8748, allocations: 326.8 kB / 1.033 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.8749, allocations: 31.98 kB / 1.033 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.8752, allocations: 128.4 kB / 1.033 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.8753, allocations: 104.1 kB / 1.033 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8753, allocations: 0 / 1.033 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002597/0.8756, allocations: 160.7 kB / 1.034 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8756, allocations: 4 kB / 1.034 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8756, allocations: 4 kB / 1.034 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8756, allocations: 0 / 1.034 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.8757, allocations: 19.92 kB / 1.034 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8757, allocations: 4 kB / 1.034 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.8763, allocations: 31.83 kB / 1.034 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.8763, allocations: 8.125 kB / 1.034 GB, free: 6.289 MB / 0.7794 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.0001554/0.8765, allocations: 144 kB / 1.034 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.8765, allocations: 15.81 kB / 1.034 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.8766, allocations: 17.88 kB / 1.034 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8766, allocations: 4 kB / 1.034 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.8766, allocations: 3.984 kB / 1.034 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8766, allocations: 0 / 1.034 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.8773, allocations: 0.5049 MB / 1.034 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8774, allocations: 0 / 1.034 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.8774, allocations: 7.984 kB / 1.034 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8774, allocations: 0 / 1.034 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.8774, allocations: 4.047 kB / 1.034 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8774, allocations: 3.938 kB / 1.034 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8774, allocations: 3.984 kB / 1.034 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.8777, allocations: 239.2 kB / 1.035 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.8778, allocations: 96.86 kB / 1.035 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8778, allocations: 0 / 1.035 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8779, allocations: 31.91 kB / 1.035 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.878, allocations: 23.91 kB / 1.035 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.878, allocations: 8 kB / 1.035 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001315/0.8782, allocations: 139.2 kB / 1.035 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8782, allocations: 0 / 1.035 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003152/0.8785, allocations: 43.91 kB / 1.035 GB, free: 4.922 MB / 0.7794 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.0003801/0.8789, allocations: 168.2 kB / 1.035 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.8791, allocations: 111.3 kB / 1.035 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8792, allocations: 0 / 1.035 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.8793, allocations: 51.97 kB / 1.035 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.8797, allocations: 58.45 kB / 1.035 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.8804, allocations: 360.4 kB / 1.036 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8807, allocations: 0.7283 MB / 1.036 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.8808, allocations: 27.38 kB / 1.036 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of SimCode: time 6.72e-07/0.8808, allocations: 0 / 1.036 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.006048/0.8868, allocations: 3.182 MB / 1.039 GB, free: 240 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time