Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001702, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6647 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8609, allocations: 140.4 MB / 0.9496 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003043/0.864, allocations: 1.73 MB / 0.9513 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.8655, allocations: 0.9019 MB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.8656, allocations: 4.844 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.8658, allocations: 21.77 kB / 0.9522 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.8662, allocations: 122.2 kB / 0.9523 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.8666, allocations: 157.8 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.8669, allocations: 234.3 kB / 0.9527 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.867, allocations: 53.16 kB / 0.9527 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.8672, allocations: 112.6 kB / 0.9528 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.879, allocations: 1.962 MB / 0.9547 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.8791, allocations: 17 kB / 0.9547 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.8793, allocations: 44.28 kB / 0.9548 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.8794, allocations: 48.38 kB / 0.9548 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.8796, allocations: 94.98 kB / 0.9549 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.88, allocations: 209.8 kB / 0.9551 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.88, allocations: 0 / 0.9551 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.88, allocations: 0 / 0.9551 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8801, allocations: 0 / 0.9551 GB, free: 5.91 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009145/0.881, allocations: 0.5584 MB / 0.9557 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.881, allocations: 9.625 kB / 0.9557 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.8811, allocations: 23.75 kB / 0.9557 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.8814, allocations: 246.8 kB / 0.9559 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8815, allocations: 10.59 kB / 0.9559 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.8815, allocations: 14.53 kB / 0.956 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.8817, allocations: 123.6 kB / 0.9561 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8818, allocations: 0 / 0.9561 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8818, allocations: 1.562 kB / 0.9561 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.8818, allocations: 6.734 kB / 0.9561 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.8819, allocations: 52.91 kB / 0.9561 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.8828, allocations: 0.5432 MB / 0.9567 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.8829, allocations: 99.2 kB / 0.9568 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.883, allocations: 42.05 kB / 0.9568 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.883, allocations: 1.375 kB / 0.9568 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.8833, allocations: 129.5 kB / 0.9569 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.8834, allocations: 0 / 0.9569 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003385/0.8837, allocations: 159.6 kB / 0.9571 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.8837, allocations: 84.48 kB / 0.9572 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.8839, allocations: 207.2 kB / 0.9574 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.884, allocations: 33.58 kB / 0.9574 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.884, allocations: 117.8 kB / 0.9575 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.8841, allocations: 37.03 kB / 0.9575 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.8842, allocations: 57.34 kB / 0.9576 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.8843, allocations: 334.8 kB / 0.9579 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.8843, allocations: 34.05 kB / 0.9579 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.8846, allocations: 140.5 kB / 0.9581 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.8847, allocations: 113.8 kB / 0.9582 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8847, allocations: 1.375 kB / 0.9582 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000249/0.885, allocations: 155.4 kB / 0.9583 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.885, allocations: 11.03 kB / 0.9583 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.885, allocations: 1.375 kB / 0.9583 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8851, allocations: 2.75 kB / 0.9584 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.8851, allocations: 20.3 kB / 0.9584 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.8852, allocations: 6.734 kB / 0.9584 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.8854, allocations: 24.17 kB / 0.9584 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.8854, allocations: 9 kB / 0.9584 GB, free: 2.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001138/0.8855, allocations: 141.3 kB / 0.9585 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.8856, allocations: 23.91 kB / 0.9586 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.8856, allocations: 26.02 kB / 0.9586 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.8856, allocations: 2.281 kB / 0.9586 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8856, allocations: 0 / 0.9586 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.8856, allocations: 1.062 kB / 0.9586 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.8862, allocations: 460.7 kB / 0.959 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8862, allocations: 1.094 kB / 0.959 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.8862, allocations: 11.41 kB / 0.959 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8862, allocations: 9.125 kB / 0.9591 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.8862, allocations: 6.234 kB / 0.9591 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.8862, allocations: 5.062 kB / 0.9591 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8863, allocations: 0 / 0.9591 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.8865, allocations: 232.1 kB / 0.9593 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.8865, allocations: 93.77 kB / 0.9594 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.8865, allocations: 10.16 kB / 0.9594 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.8867, allocations: 18.62 kB / 0.9594 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.8868, allocations: 16.64 kB / 0.9594 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.8868, allocations: 9.328 kB / 0.9594 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001075/0.8869, allocations: 143.6 kB / 0.9596 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8869, allocations: 0 / 0.9596 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003382/0.8873, allocations: 51.19 kB / 0.9596 GB, free: 1.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003157/0.8876, allocations: 162.8 kB / 0.9598 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.8878, allocations: 106.3 kB / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8879, allocations: 0 / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.8879, allocations: 50.83 kB / 0.9599 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.8884, allocations: 67.73 kB / 0.96 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.8889, allocations: 298.2 kB / 0.9603 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.8891, allocations: 0.7258 MB / 0.961 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.664e-05/0.8892, allocations: 22.38 kB / 0.961 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.8892, allocations: 24.48 kB / 0.961 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8893, allocations: 4 kB / 0.961 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of Templates: time 0.008311/0.8976, allocations: 3.646 MB / 0.9646 GB, free: 14.91 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches