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.001342/0.001342, allocations: 106.8 kB / 15.99 MB, free: 6.355 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.001347/0.001347, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 482.4 MB / 0.755 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 72.62 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9292, allocations: 162.2 MB / 1.082 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003091/0.9323, allocations: 1.883 MB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.934, allocations: 0.9247 MB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.9341, allocations: 5.25 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.9343, allocations: 19.88 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.9347, allocations: 107.7 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.9351, allocations: 140.2 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.9354, allocations: 242.9 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.9356, allocations: 37.98 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.9357, allocations: 110.6 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02783/0.9636, allocations: 1.686 MB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.9637, allocations: 17.75 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.9639, allocations: 37.92 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.964, allocations: 48.92 kB / 1.088 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.9642, allocations: 88.12 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.9646, allocations: 154.5 kB / 1.088 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.9646, allocations: 0.9688 kB / 1.088 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9646, allocations: 0 / 1.088 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9646, allocations: 0 / 1.088 GB, free: 14.74 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.001081/0.9657, allocations: 0.5494 MB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9658, allocations: 9.531 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.9659, allocations: 27.22 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.9662, allocations: 246.6 kB / 1.089 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.9663, allocations: 11.33 kB / 1.089 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.9663, allocations: 14.12 kB / 1.089 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.9666, allocations: 90 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9666, allocations: 1.156 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.9666, allocations: 5.844 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.9666, allocations: 2.219 kB / 1.089 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.9668, allocations: 52.33 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.9678, allocations: 470.7 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.9683, allocations: 135.2 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.9684, allocations: 39.41 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.9684, allocations: 1.156 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.9687, allocations: 106.8 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.9687, allocations: 3.938 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0004124/0.9691, allocations: 167.4 kB / 1.09 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.9692, allocations: 58.86 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.9694, allocations: 195.3 kB / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.9695, allocations: 34.33 kB / 1.09 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.9696, allocations: 129.6 kB / 1.09 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.9696, allocations: 30.97 kB / 1.09 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.9698, allocations: 56.08 kB / 1.09 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9699, allocations: 333.3 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.97, allocations: 35.02 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.9703, allocations: 134.5 kB / 1.091 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.9705, allocations: 106 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9705, allocations: 0.5625 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002752/0.9707, allocations: 152.8 kB / 1.091 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.9708, allocations: 9.406 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9708, allocations: 1.281 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9708, allocations: 6.406 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.9709, allocations: 12.95 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9709, allocations: 2.672 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.9711, allocations: 25.88 kB / 1.091 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.9711, allocations: 4.906 kB / 1.091 GB, free: 12.33 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.0001602/0.9713, allocations: 146.9 kB / 1.091 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.9713, allocations: 21.16 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.9714, allocations: 19.5 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9714, allocations: 6 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9714, allocations: 1.344 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9714, allocations: 0.8438 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.9722, allocations: 498.8 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9722, allocations: 0 / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.9722, allocations: 8.719 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9723, allocations: 5.578 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.9723, allocations: 1.969 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.9723, allocations: 9.344 kB / 1.092 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9723, allocations: 0 / 1.092 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.9725, allocations: 229 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.9726, allocations: 95.58 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.9727, allocations: 2.016 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.9728, allocations: 22.75 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.9729, allocations: 23.81 kB / 1.092 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.9729, allocations: 6.844 kB / 1.092 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001345/0.9731, allocations: 143 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9731, allocations: 0 / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003228/0.9734, allocations: 40.84 kB / 1.092 GB, free: 11.39 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.0004109/0.9738, allocations: 174.2 kB / 1.092 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.9741, allocations: 110.7 kB / 1.092 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9741, allocations: 4.812 kB / 1.092 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.9742, allocations: 53.17 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.9747, allocations: 61.97 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.9754, allocations: 394.7 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.9758, allocations: 0.7276 MB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.9759, allocations: 23.98 kB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.9759, allocations: 0 / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.006816/0.9827, allocations: 3.215 MB / 1.097 GB, free: 9.848 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