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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001318/0.001319, allocations: 112.3 kB / 16.41 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.001351/0.001351, allocations: 183 kB / 17.34 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.83 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8601, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003396/0.8636, allocations: 1.744 MB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.8653, allocations: 0.9046 MB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.8654, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.8657, allocations: 35.66 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.8662, allocations: 123.4 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.8666, allocations: 150.8 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.867, allocations: 243.4 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.8671, allocations: 37.66 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.8673, allocations: 111.7 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01217/0.8795, allocations: 2.026 MB / 1.173 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.8796, allocations: 16 kB / 1.173 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.8798, allocations: 35.98 kB / 1.173 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.8799, allocations: 43.83 kB / 1.173 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.88, allocations: 95.56 kB / 1.173 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.8805, allocations: 217.1 kB / 1.173 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8805, allocations: 4 kB / 1.173 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8805, allocations: 0 / 1.173 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.8805, allocations: 3.938 kB / 1.173 GB, free: 14.59 MB / 0.9044 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.0009568/0.8815, allocations: 0.545 MB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8815, allocations: 12.62 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.8816, allocations: 20.66 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.882, allocations: 248.4 kB / 1.174 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.882, allocations: 12 kB / 1.174 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.8821, allocations: 12 kB / 1.174 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.8823, allocations: 89.64 kB / 1.174 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.8823, allocations: 0 / 1.174 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.8823, allocations: 11.98 kB / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8823, allocations: 0 / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.8824, allocations: 47.97 kB / 1.174 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.8833, allocations: 468.2 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.8837, allocations: 142.7 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.8838, allocations: 40.73 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.8838, allocations: 4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.8841, allocations: 111.3 kB / 1.175 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.205e-06/0.8842, allocations: 0 / 1.175 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003609/0.8845, allocations: 168.7 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8846, allocations: 59.41 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.8848, allocations: 200 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.8848, allocations: 33.7 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.8849, allocations: 128.4 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.885, allocations: 31.61 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.8851, allocations: 53.69 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8852, allocations: 334.8 kB / 1.176 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.8853, allocations: 27.98 kB / 1.176 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.8855, allocations: 136.7 kB / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8857, allocations: 106.8 kB / 1.176 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8857, allocations: 4 kB / 1.176 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002498/0.886, allocations: 145.3 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.886, allocations: 8 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.886, allocations: 0 / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.886, allocations: 4 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.8861, allocations: 15.94 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.8861, allocations: 3.984 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.8864, allocations: 31.98 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.8864, allocations: 4 kB / 1.176 GB, free: 11.11 MB / 0.9044 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.0001313/0.8865, allocations: 143.5 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.8866, allocations: 19.72 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.8866, allocations: 21.86 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8866, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8866, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8866, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.8874, allocations: 0.4942 MB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8874, allocations: 3.938 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.8874, allocations: 4 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8874, allocations: 0 / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.8874, allocations: 4.047 kB / 1.177 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.8874, allocations: 7.875 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8874, allocations: 3.984 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.8877, allocations: 235.2 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.8878, allocations: 92.86 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.8878, allocations: 3.984 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.8879, allocations: 19.92 kB / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.888, allocations: 19.97 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.8881, allocations: 8 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001191/0.8882, allocations: 140.5 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8882, allocations: 4 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003137/0.8885, allocations: 40 kB / 1.177 GB, free: 9.754 MB / 0.9044 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.000358/0.8889, allocations: 172.7 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.8891, allocations: 107.7 kB / 1.178 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8891, allocations: 0 / 1.178 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.8892, allocations: 51.92 kB / 1.178 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.8897, allocations: 66.47 kB / 1.178 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.8903, allocations: 304.8 kB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.8906, allocations: 0.7203 MB / 1.179 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.8907, allocations: 27.42 kB / 1.179 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.8907, allocations: 8 kB / 1.179 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of Templates: time 0.006105/0.8968, allocations: 3.216 MB / 1.182 GB, free: 5.082 MB / 0.9044 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