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.001364/0.001364, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001734/0.001734, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.84 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9664, allocations: 157.4 MB / 1.208 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003369/0.9699, allocations: 1.743 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.9715, allocations: 0.9084 MB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.9716, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.9718, allocations: 31.67 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.9723, allocations: 115.4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.9727, allocations: 151 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.9731, allocations: 251.4 kB / 1.212 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.9732, allocations: 33.67 kB / 1.212 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.9734, allocations: 111.7 kB / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.9856, allocations: 2.026 MB / 1.214 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.272e-05/0.9857, allocations: 16 kB / 1.214 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.9859, allocations: 36 kB / 1.214 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.986, allocations: 47.81 kB / 1.214 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.9861, allocations: 95.52 kB / 1.214 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.9866, allocations: 219.2 kB / 1.214 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.9866, allocations: 0 / 1.214 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9866, allocations: 0 / 1.214 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9866, allocations: 0 / 1.214 GB, free: 8.598 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.0008775/0.9875, allocations: 0.545 MB / 1.215 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9875, allocations: 8.031 kB / 1.215 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.9876, allocations: 28.66 kB / 1.215 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.9879, allocations: 243.5 kB / 1.215 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.988, allocations: 12 kB / 1.215 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.988, allocations: 16 kB / 1.215 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9882, allocations: 89.64 kB / 1.215 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9882, allocations: 0 / 1.215 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.9882, allocations: 4 kB / 1.215 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.9883, allocations: 0 / 1.215 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.9884, allocations: 55.91 kB / 1.215 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.9892, allocations: 468.3 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.9897, allocations: 142.6 kB / 1.216 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.9897, allocations: 28.86 kB / 1.216 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.9898, allocations: 7.984 kB / 1.216 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.99, allocations: 111.2 kB / 1.216 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.99, allocations: 0 / 1.216 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003471/0.9904, allocations: 164.1 kB / 1.216 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9905, allocations: 59.41 kB / 1.216 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.9907, allocations: 196.3 kB / 1.216 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.9907, allocations: 33.7 kB / 1.216 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.9908, allocations: 120.4 kB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.9909, allocations: 39.59 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.991, allocations: 57.67 kB / 1.216 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9911, allocations: 326.8 kB / 1.217 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.9912, allocations: 35.98 kB / 1.217 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.9915, allocations: 131.5 kB / 1.217 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.9917, allocations: 105.7 kB / 1.217 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9917, allocations: 3.938 kB / 1.217 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002605/0.9919, allocations: 159.6 kB / 1.217 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.992, allocations: 4 kB / 1.217 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.992, allocations: 0 / 1.217 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.992, allocations: 4 kB / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.9921, allocations: 19.98 kB / 1.217 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9921, allocations: 4.125 kB / 1.217 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.9923, allocations: 19.92 kB / 1.217 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.9924, allocations: 12 kB / 1.217 GB, free: 5.117 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.0001547/0.9925, allocations: 139.5 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.9926, allocations: 23.7 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.9926, allocations: 21.88 kB / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9926, allocations: 0 / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.9926, allocations: 0 / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9926, allocations: 11.94 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/0.9934, allocations: 494.1 kB / 1.218 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9934, allocations: 0 / 1.218 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.9935, allocations: 7.938 kB / 1.218 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.9935, allocations: 0 / 1.218 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.9935, allocations: 8 kB / 1.218 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9935, allocations: 3.938 kB / 1.218 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9935, allocations: 7.984 kB / 1.218 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.9938, allocations: 221.2 kB / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.9938, allocations: 96.84 kB / 1.218 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.9939, allocations: 4 kB / 1.218 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.994, allocations: 15.92 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.9941, allocations: 19.97 kB / 1.218 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.9941, allocations: 8 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001316/0.9943, allocations: 148.2 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9943, allocations: 0 / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003363/0.9946, allocations: 44 kB / 1.218 GB, free: 3.77 MB / 0.9356 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.0003963/0.995, allocations: 168.4 kB / 1.219 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.9953, allocations: 111.7 kB / 1.219 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9953, allocations: 0 / 1.219 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.9954, allocations: 54.17 kB / 1.219 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.9959, allocations: 59.3 kB / 1.219 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.9965, allocations: 305.4 kB / 1.219 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.997, allocations: 0.7203 MB / 1.22 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.997, allocations: 27.42 kB / 1.22 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.9971, allocations: 3.938 kB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of Templates: time 0.006475/1.004, allocations: 3.223 MB / 1.223 GB, free: 15.1 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) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time