Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001987, allocations: 107.7 kB / 16.41 MB, free: 6.5 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.0022/0.0022, allocations: 190.5 kB / 17.35 MB, free: 5.758 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.83 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.963/0.9644, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003568/0.9681, allocations: 1.748 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.9698, allocations: 0.9007 MB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.9699, allocations: 3.938 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.9702, allocations: 27.73 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.9707, allocations: 115.4 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.9711, allocations: 158.9 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.9715, allocations: 231.4 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.9717, allocations: 45.66 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.9719, allocations: 115.6 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.9839, allocations: 1.986 MB / 1.214 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.984, allocations: 23.94 kB / 1.214 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.9842, allocations: 43.98 kB / 1.214 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.9843, allocations: 35.91 kB / 1.214 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.9844, allocations: 99.42 kB / 1.214 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.9849, allocations: 207.4 kB / 1.214 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9849, allocations: 7.938 kB / 1.214 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9849, allocations: 0 / 1.214 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.9849, allocations: 0 / 1.214 GB, free: 8.43 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001103/0.986, allocations: 0.5606 MB / 1.215 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.9861, allocations: 8.031 kB / 1.215 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.9862, allocations: 24.66 kB / 1.215 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.9867, allocations: 239.6 kB / 1.215 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.9867, allocations: 12 kB / 1.215 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.9868, allocations: 12 kB / 1.215 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.9871, allocations: 115.2 kB / 1.215 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.9871, allocations: 0 / 1.215 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.9871, allocations: 8 kB / 1.215 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9871, allocations: 4 kB / 1.215 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.9873, allocations: 51.97 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.9884, allocations: 0.5396 MB / 1.216 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.9886, allocations: 101.1 kB / 1.216 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.9886, allocations: 37.78 kB / 1.216 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.9887, allocations: 0 / 1.216 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.989, allocations: 137.2 kB / 1.216 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.9891, allocations: 0 / 1.216 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0004442/0.9895, allocations: 160.4 kB / 1.216 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9896, allocations: 81.11 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.9898, allocations: 204.2 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.9899, allocations: 33.7 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.99, allocations: 120.5 kB / 1.216 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.9901, allocations: 39.67 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.9902, allocations: 61.67 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9903, allocations: 326.8 kB / 1.217 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.9904, allocations: 27.98 kB / 1.217 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.9907, allocations: 148 kB / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.9909, allocations: 109.8 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9909, allocations: 4 kB / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003006/0.9912, allocations: 160.6 kB / 1.217 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9912, allocations: 7.984 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9913, allocations: 4 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.9913, allocations: 3.984 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9914, allocations: 15.94 kB / 1.217 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.9914, allocations: 4 kB / 1.217 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.9917, allocations: 31.81 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.9917, allocations: 12.16 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001704/0.9919, allocations: 147.4 kB / 1.217 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.9919, allocations: 15.81 kB / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.992, allocations: 21.52 kB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.992, allocations: 0 / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.992, allocations: 0 / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.9921, allocations: 96.92 kB / 1.218 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.9921, allocations: 3.984 kB / 1.218 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.9922, allocations: 23.92 kB / 1.218 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.9923, allocations: 15.98 kB / 1.218 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003388/0.9926, allocations: 288.1 kB / 1.218 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003018/0.9929, allocations: 369.9 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.915e-05/0.9931, allocations: 59.86 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001205/0.9932, allocations: 140.2 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/0.9932, allocations: 0 / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.994, allocations: 221.2 kB / 1.219 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009585/0.995, allocations: 0.7557 MB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.009037/1.004, allocations: 3.805 MB / 1.223 GB, free: 14.78 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches