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 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.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.001538/0.001538, allocations: 113.9 kB / 16.42 MB, free: 6.504 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.001324/0.001324, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9223, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003223/0.9255, allocations: 1.751 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.9273, allocations: 0.8968 MB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.9274, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.9277, allocations: 35.66 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.9282, allocations: 119.4 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.9287, allocations: 143.7 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.9291, allocations: 247.4 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.9292, allocations: 37.66 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.9295, allocations: 107.7 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.9417, allocations: 2.028 MB / 1.214 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.9419, allocations: 20 kB / 1.214 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.9421, allocations: 36 kB / 1.214 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.9422, allocations: 39.84 kB / 1.214 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.9424, allocations: 95.55 kB / 1.214 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.9429, allocations: 217.1 kB / 1.214 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9429, allocations: 4 kB / 1.214 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.546e-06/0.9429, allocations: 0 / 1.214 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.943, allocations: 3.938 kB / 1.214 GB, free: 8.414 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009686/0.9439, allocations: 0.5411 MB / 1.215 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.944, allocations: 8.031 kB / 1.215 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.9441, allocations: 24.66 kB / 1.215 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.9445, allocations: 247.5 kB / 1.215 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.9446, allocations: 8 kB / 1.215 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.9446, allocations: 16 kB / 1.215 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.9448, allocations: 94.86 kB / 1.215 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9449, allocations: 0 / 1.215 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.9449, allocations: 3.984 kB / 1.215 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.9449, allocations: 4 kB / 1.215 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.945, allocations: 51.97 kB / 1.215 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.9461, allocations: 468.2 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.9466, allocations: 138.7 kB / 1.216 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.9466, allocations: 40.78 kB / 1.216 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.9467, allocations: 0 / 1.216 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.9471, allocations: 111.3 kB / 1.216 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.9471, allocations: 0 / 1.216 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004397/0.9476, allocations: 165.3 kB / 1.216 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.9476, allocations: 63.41 kB / 1.216 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.9479, allocations: 196.3 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.9479, allocations: 33.7 kB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.9481, allocations: 124.4 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.9481, allocations: 31.61 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.9483, allocations: 57.62 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9484, allocations: 330.8 kB / 1.217 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.9485, allocations: 35.98 kB / 1.217 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.9487, allocations: 131.5 kB / 1.217 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.9489, allocations: 100.1 kB / 1.217 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9489, allocations: 0 / 1.217 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002803/0.9492, allocations: 154.9 kB / 1.217 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.9492, allocations: 4 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9492, allocations: 4 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.9493, allocations: 0 / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.9494, allocations: 19.94 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.9494, allocations: 4 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.9496, allocations: 28.03 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.9496, allocations: 8 kB / 1.217 GB, free: 4.938 MB / 0.9356 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.0001536/0.9498, allocations: 135.5 kB / 1.217 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.9498, allocations: 19.72 kB / 1.217 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.9499, allocations: 25.86 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9499, allocations: 0 / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9499, allocations: 0 / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.95, allocations: 96.86 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.95, allocations: 7.984 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9501, allocations: 19.92 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.9502, allocations: 19.97 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003182/0.9506, allocations: 215.6 kB / 1.218 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002894/0.9509, allocations: 306.5 kB / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001131/0.951, allocations: 51.97 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001326/0.9511, allocations: 148.2 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of Backend: time 6.71e-07/0.9511, allocations: 0 / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008348/0.952, allocations: 219.9 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009093/0.9529, allocations: 0.747 MB / 1.219 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.008514/0.9614, allocations: 3.861 MB / 1.223 GB, free: 15.07 MB / 0.9512 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