Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001251/0.001251, allocations: 117 kB / 16.42 MB, free: 6.512 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.001268/0.001268, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.418/1.418, allocations: 222.9 MB / 241.1 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.76/2.76, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.91 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003938/1.117, allocations: 1.73 MB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001936/1.119, allocations: 0.9057 MB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/1.119, allocations: 0 / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/1.119, allocations: 27.73 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005636/1.12, allocations: 123.4 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/1.121, allocations: 151.7 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/1.121, allocations: 235.4 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/1.121, allocations: 37.64 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/1.121, allocations: 111.7 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/1.134, allocations: 2.04 MB / 1.232 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/1.134, allocations: 16 kB / 1.232 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/1.134, allocations: 40 kB / 1.232 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/1.134, allocations: 39.84 kB / 1.232 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/1.135, allocations: 95.55 kB / 1.232 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/1.135, allocations: 224 kB / 1.232 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.135, allocations: 0 / 1.232 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/1.135, allocations: 0 / 1.232 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.135, allocations: 0 / 1.232 GB, free: 8.312 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.001049/1.136, allocations: 0.5565 MB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.136, allocations: 8.031 kB / 1.233 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/1.136, allocations: 20.84 kB / 1.233 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/1.137, allocations: 247.5 kB / 1.233 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/1.137, allocations: 12 kB / 1.233 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/1.137, allocations: 19.98 kB / 1.233 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/1.137, allocations: 81.66 kB / 1.233 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.137, allocations: 0 / 1.233 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.137, allocations: 8 kB / 1.233 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.137, allocations: 0 / 1.233 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/1.137, allocations: 63.86 kB / 1.233 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/1.138, allocations: 460.5 kB / 1.233 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/1.138, allocations: 138.6 kB / 1.234 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/1.139, allocations: 32.84 kB / 1.234 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/1.139, allocations: 4 kB / 1.234 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/1.139, allocations: 111.4 kB / 1.234 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/1.139, allocations: 4 kB / 1.234 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003748/1.139, allocations: 168.5 kB / 1.234 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.139, allocations: 59.39 kB / 1.234 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/1.14, allocations: 208 kB / 1.234 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/1.14, allocations: 33.7 kB / 1.234 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/1.14, allocations: 116.5 kB / 1.234 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/1.14, allocations: 35.7 kB / 1.234 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/1.14, allocations: 61.67 kB / 1.234 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.14, allocations: 334.8 kB / 1.235 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/1.14, allocations: 27.98 kB / 1.235 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.14, allocations: 137 kB / 1.235 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.141, allocations: 104.1 kB / 1.235 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.141, allocations: 0 / 1.235 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002638/1.141, allocations: 151.5 kB / 1.235 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.141, allocations: 4 kB / 1.235 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.141, allocations: 0 / 1.235 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.141, allocations: 8.125 kB / 1.235 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/1.141, allocations: 15.94 kB / 1.235 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.141, allocations: 0 / 1.235 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.141, allocations: 27.92 kB / 1.235 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/1.141, allocations: 12 kB / 1.235 GB, free: 4.816 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.0001399/1.141, allocations: 139.9 kB / 1.235 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/1.141, allocations: 15.91 kB / 1.235 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/1.141, allocations: 25.86 kB / 1.235 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.141, allocations: 7.938 kB / 1.235 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.141, allocations: 4 kB / 1.235 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/1.142, allocations: 89.02 kB / 1.235 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/1.142, allocations: 3.984 kB / 1.235 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/1.142, allocations: 19.92 kB / 1.235 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/1.142, allocations: 16.03 kB / 1.235 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002908/1.142, allocations: 224.8 kB / 1.236 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002834/1.142, allocations: 306.7 kB / 1.236 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.854e-05/1.142, allocations: 59 kB / 1.236 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00013/1.143, allocations: 140.5 kB / 1.236 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of Backend: time 7.02e-07/1.143, allocations: 0 / 1.236 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007803/1.143, allocations: 213.5 kB / 1.236 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008741/1.144, allocations: 0.7565 MB / 1.237 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.008632/1.153, allocations: 3.775 MB / 1.241 GB, free: 15 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches