Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.001662/0.001667, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001694/0.001694, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.567/2.567, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6371, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003006/0.6402, allocations: 1.893 MB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.6417, allocations: 0.9436 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.6418, allocations: 7.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.642, allocations: 23.84 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.6423, allocations: 95.66 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.6426, allocations: 138.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.6428, allocations: 231.3 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6429, allocations: 45.66 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.6431, allocations: 103.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02664/0.6697, allocations: 1.821 MB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.6698, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.67, allocations: 32 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.6701, allocations: 39.77 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.6702, allocations: 83.56 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.6706, allocations: 207.3 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6706, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6706, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6706, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 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.0008579/0.6715, allocations: 0.5528 MB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6715, allocations: 8.031 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.6716, allocations: 20.75 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.672, allocations: 251.4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.672, allocations: 8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.672, allocations: 16 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.6722, allocations: 113.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6722, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.6723, allocations: 11.92 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6723, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6724, allocations: 51.97 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.6732, allocations: 0.5395 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.6734, allocations: 105.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.6735, allocations: 45.77 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.6735, allocations: 3.984 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.6737, allocations: 115.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.6737, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003311/0.674, allocations: 163.1 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.6741, allocations: 85.11 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.6743, allocations: 202.4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.6743, allocations: 33.7 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6744, allocations: 128.4 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.6745, allocations: 35.58 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.6746, allocations: 61.67 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6747, allocations: 326.8 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.6748, allocations: 31.98 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.675, allocations: 137.3 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.6752, allocations: 123.2 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6752, allocations: 4 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002688/0.6755, allocations: 157.2 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6755, allocations: 7.938 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.6756, allocations: 8.156 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6756, allocations: 0 / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.6757, allocations: 15.94 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6757, allocations: 4 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.6759, allocations: 31.81 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.676, allocations: 8 kB / 1.025 GB, free: 9.859 MB / 0.7794 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.0001557/0.6761, allocations: 140 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.6762, allocations: 15.81 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.6762, allocations: 25.52 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6762, allocations: 4 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6762, allocations: 0 / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6763, allocations: 0 / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.6769, allocations: 467.3 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6769, allocations: 0 / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.6769, allocations: 7.984 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.677, allocations: 4 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.677, allocations: 7.984 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.677, allocations: 7.938 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.677, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.6773, allocations: 228.1 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.6773, allocations: 92.91 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.6774, allocations: 4 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6775, allocations: 19.92 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.6776, allocations: 23.97 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.6777, allocations: 8 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001278/0.6778, allocations: 135.2 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6778, allocations: 4 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003287/0.6781, allocations: 51.84 kB / 1.027 GB, free: 8.543 MB / 0.7794 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.0004463/0.6786, allocations: 179.1 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.6789, allocations: 103.8 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6789, allocations: 0 / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.679, allocations: 51.92 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.6794, allocations: 51.89 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.6801, allocations: 330.5 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6804, allocations: 0.7245 MB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.6805, allocations: 25.53 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.6805, allocations: 19.44 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6805, allocations: 0 / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.006843/0.6874, allocations: 3.429 MB / 1.031 GB, free: 3.641 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches