Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001547/0.001547, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 60.66 kB / 0.9245 GB, free: 16 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9531/0.9551, allocations: 162.2 MB / 1.083 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004392/0.9596, allocations: 1.719 MB / 1.085 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.9612, allocations: 0.8996 MB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.9613, allocations: 1.219 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.9616, allocations: 31.44 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.9619, allocations: 112.6 kB / 1.086 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.9624, allocations: 148.7 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.9627, allocations: 245.7 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.9629, allocations: 44.95 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.9631, allocations: 111.3 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0143/0.9774, allocations: 1.689 MB / 1.088 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.9776, allocations: 17.47 kB / 1.088 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.9778, allocations: 37.98 kB / 1.088 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.978, allocations: 44.27 kB / 1.088 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.9782, allocations: 91.83 kB / 1.088 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.9788, allocations: 213.1 kB / 1.088 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.9788, allocations: 0 / 1.088 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9789, allocations: 0.6094 kB / 1.088 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9789, allocations: 1.719 kB / 1.088 GB, free: 15.13 MB / 0.8419 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.001288/0.9802, allocations: 0.5494 MB / 1.089 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9802, allocations: 10.42 kB / 1.089 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.9804, allocations: 27.75 kB / 1.089 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.9808, allocations: 238.3 kB / 1.089 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.9808, allocations: 9.5 kB / 1.089 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.9809, allocations: 11.09 kB / 1.089 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.9812, allocations: 93.81 kB / 1.089 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9812, allocations: 4.969 kB / 1.089 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.9812, allocations: 5.844 kB / 1.089 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.9812, allocations: 1.688 kB / 1.089 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.9814, allocations: 56.47 kB / 1.089 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.9825, allocations: 478.6 kB / 1.09 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.983, allocations: 136.2 kB / 1.09 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.9831, allocations: 36.95 kB / 1.09 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.9832, allocations: 1.156 kB / 1.09 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.9835, allocations: 113 kB / 1.09 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.9835, allocations: 0 / 1.09 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0004345/0.984, allocations: 167.3 kB / 1.09 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.984, allocations: 54.69 kB / 1.09 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.9843, allocations: 203.5 kB / 1.09 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.9844, allocations: 30.12 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.9845, allocations: 130.7 kB / 1.09 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.9846, allocations: 27.73 kB / 1.09 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.9847, allocations: 59.5 kB / 1.091 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9849, allocations: 328.2 kB / 1.091 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.985, allocations: 30.64 kB / 1.091 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.9853, allocations: 137 kB / 1.091 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.9854, allocations: 107.8 kB / 1.091 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9854, allocations: 1.094 kB / 1.091 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002976/0.9858, allocations: 153.4 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9858, allocations: 7.219 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9858, allocations: 1.891 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9858, allocations: 2.406 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.9859, allocations: 13.53 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.9859, allocations: 3.641 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.9862, allocations: 28.69 kB / 1.091 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.9862, allocations: 9.188 kB / 1.091 GB, free: 12.71 MB / 0.8419 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.0001655/0.9864, allocations: 139.6 kB / 1.091 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.9864, allocations: 20.33 kB / 1.091 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.9865, allocations: 19.89 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9865, allocations: 3.062 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9865, allocations: 0 / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9865, allocations: 1.359 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008188/0.9873, allocations: 0.4917 MB / 1.092 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9873, allocations: 0 / 1.092 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.9874, allocations: 8.766 kB / 1.092 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9874, allocations: 3.938 kB / 1.092 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.9874, allocations: 2.172 kB / 1.092 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.9874, allocations: 10.14 kB / 1.092 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9874, allocations: 0 / 1.092 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.9877, allocations: 233.7 kB / 1.092 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.9878, allocations: 94.77 kB / 1.092 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.9879, allocations: 5.984 kB / 1.092 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.988, allocations: 18.7 kB / 1.092 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.9881, allocations: 19.88 kB / 1.092 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.9881, allocations: 8.422 kB / 1.092 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001574/0.9883, allocations: 145.6 kB / 1.092 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9883, allocations: 0 / 1.092 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003574/0.9887, allocations: 41.33 kB / 1.093 GB, free: 11.77 MB / 0.8419 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.0004286/0.9891, allocations: 170.4 kB / 1.093 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.9894, allocations: 119 kB / 1.093 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9894, allocations: 1 kB / 1.093 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.9896, allocations: 49.17 kB / 1.093 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.99, allocations: 55.39 kB / 1.093 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.9909, allocations: 348.8 kB / 1.093 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.9913, allocations: 0.7199 MB / 1.094 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.9914, allocations: 26.91 kB / 1.094 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.9914, allocations: 0.5312 kB / 1.094 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.00852/0.9999, allocations: 3.217 MB / 1.097 GB, free: 10.28 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches