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 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.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.001514/0.001514, allocations: 116.2 kB / 16.42 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.001689/0.00169, allocations: 183.9 kB / 17.34 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.89 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003654/1.031, allocations: 1.741 MB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001777/1.033, allocations: 0.898 MB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/1.033, allocations: 11.88 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/1.033, allocations: 27.73 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004793/1.034, allocations: 115.4 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/1.034, allocations: 159.1 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/1.035, allocations: 239.4 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/1.035, allocations: 37.67 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/1.035, allocations: 115.6 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/1.047, allocations: 1.977 MB / 1.232 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-05/1.047, allocations: 20 kB / 1.232 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/1.047, allocations: 43.97 kB / 1.232 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.053e-05/1.047, allocations: 39.84 kB / 1.232 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/1.048, allocations: 99.48 kB / 1.232 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004934/1.048, allocations: 222.6 kB / 1.232 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.048, allocations: 0 / 1.232 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.254e-06/1.048, allocations: 4 kB / 1.232 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.048, allocations: 0 / 1.232 GB, free: 8.352 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001017/1.049, allocations: 0.5564 MB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.049, allocations: 12.03 kB / 1.232 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.049, allocations: 24.84 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/1.05, allocations: 243.6 kB / 1.233 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.05, allocations: 12 kB / 1.233 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.05, allocations: 19.98 kB / 1.233 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/1.05, allocations: 123.1 kB / 1.233 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.05, allocations: 4 kB / 1.233 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.05, allocations: 0 / 1.233 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.05, allocations: 0 / 1.233 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/1.05, allocations: 55.97 kB / 1.233 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/1.051, allocations: 0.5397 MB / 1.233 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/1.051, allocations: 93.27 kB / 1.234 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/1.051, allocations: 41.77 kB / 1.234 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/1.051, allocations: 0 / 1.234 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/1.052, allocations: 139.6 kB / 1.234 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/1.052, allocations: 0 / 1.234 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003685/1.052, allocations: 157.6 kB / 1.234 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.052, allocations: 93.08 kB / 1.234 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/1.052, allocations: 200.1 kB / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/1.052, allocations: 33.7 kB / 1.234 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.053, allocations: 124.5 kB / 1.234 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/1.053, allocations: 35.73 kB / 1.234 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.053, allocations: 57.64 kB / 1.234 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.053, allocations: 330.8 kB / 1.235 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/1.053, allocations: 39.98 kB / 1.235 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/1.053, allocations: 136 kB / 1.235 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.053, allocations: 113.9 kB / 1.235 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.053, allocations: 0 / 1.235 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002738/1.054, allocations: 156.2 kB / 1.235 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.054, allocations: 8 kB / 1.235 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/1.054, allocations: 4.156 kB / 1.235 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.054, allocations: 4 kB / 1.235 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/1.054, allocations: 23.92 kB / 1.235 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.054, allocations: 0 / 1.235 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.054, allocations: 31.81 kB / 1.235 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.054, allocations: 8 kB / 1.235 GB, free: 4.652 MB / 0.9512 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.0001868/1.054, allocations: 144 kB / 1.235 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/1.054, allocations: 15.91 kB / 1.235 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/1.054, allocations: 25.52 kB / 1.235 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.054, allocations: 4 kB / 1.235 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.054, allocations: 0 / 1.235 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/1.054, allocations: 101 kB / 1.235 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.054, allocations: 0 / 1.235 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.055, allocations: 23.91 kB / 1.236 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/1.055, allocations: 15.98 kB / 1.236 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003209/1.055, allocations: 288.1 kB / 1.236 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003072/1.055, allocations: 374 kB / 1.236 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.359e-05/1.055, allocations: 51.86 kB / 1.236 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002219/1.056, allocations: 140.5 kB / 1.236 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of Backend: time 5.91e-07/1.056, allocations: 4 kB / 1.236 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008892/1.057, allocations: 229.6 kB / 1.237 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009656/1.058, allocations: 0.7469 MB / 1.237 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of Templates: time 0.01013/1.068, allocations: 3.734 MB / 1.241 GB, free: 14.74 MB / 0.9669 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