Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 105 kB / 16.41 MB, free: 6.465 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.001921/0.001921, allocations: 187 kB / 17.34 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.374/2.374, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.89 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003147/1.183, allocations: 1.621 MB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001115/1.184, allocations: 0.5684 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/1.184, allocations: 5.312 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/1.184, allocations: 27.27 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/1.185, allocations: 115.7 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/1.185, allocations: 146 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/1.186, allocations: 217.1 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/1.186, allocations: 24.89 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/1.186, allocations: 102.9 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009073/1.195, allocations: 1.564 MB / 1.093 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/1.195, allocations: 15.81 kB / 1.093 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/1.195, allocations: 36.17 kB / 1.093 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/1.195, allocations: 45.81 kB / 1.093 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/1.195, allocations: 79.95 kB / 1.093 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/1.196, allocations: 195.1 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.196, allocations: 0.875 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.053e-06/1.196, allocations: 0 / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.196, allocations: 0 / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007829/1.197, allocations: 0.5232 MB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.197, allocations: 9.094 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/1.197, allocations: 19.86 kB / 1.094 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/1.197, allocations: 234.2 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.197, allocations: 14.48 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/1.197, allocations: 9.156 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/1.197, allocations: 88.91 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.197, allocations: 1.156 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.197, allocations: 5.516 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.197, allocations: 1 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/1.198, allocations: 47.22 kB / 1.094 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/1.198, allocations: 433.6 kB / 1.095 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.199, allocations: 71.16 kB / 1.095 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/1.199, allocations: 29.27 kB / 1.095 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/1.199, allocations: 0.7188 kB / 1.095 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/1.199, allocations: 91.7 kB / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/1.199, allocations: 0 / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003325/1.199, allocations: 139.6 kB / 1.095 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.199, allocations: 54.41 kB / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/1.199, allocations: 192.6 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/1.199, allocations: 29.97 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/1.2, allocations: 116.5 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/1.2, allocations: 29 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.2, allocations: 52.64 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/1.2, allocations: 328.1 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/1.2, allocations: 33.97 kB / 1.096 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/1.2, allocations: 115.8 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.2, allocations: 90.95 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.2, allocations: 0.5938 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002498/1.2, allocations: 133.9 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.2, allocations: 5.188 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.201, allocations: 6.156 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.201, allocations: 5.781 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/1.201, allocations: 15.98 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.201, allocations: 5.969 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/1.201, allocations: 21 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.201, allocations: 5.094 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001087/1.201, allocations: 138.8 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/1.201, allocations: 15.38 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/1.201, allocations: 22.64 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/1.201, allocations: 6.125 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.201, allocations: 3.984 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.201, allocations: 5.828 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/1.202, allocations: 429.2 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.202, allocations: 0 / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/1.202, allocations: 7.234 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.202, allocations: 0.875 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.202, allocations: 1.484 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.202, allocations: 1.734 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.202, allocations: 1.312 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/1.202, allocations: 214.5 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/1.202, allocations: 90.28 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/1.202, allocations: 1.953 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/1.202, allocations: 6.297 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/1.202, allocations: 15.75 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/1.202, allocations: 6.25 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000165/1.202, allocations: 138 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 4 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003165/1.203, allocations: 39.81 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003933/1.203, allocations: 169.9 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002386/1.203, allocations: 85.3 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.203, allocations: 0 / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/1.203, allocations: 43.59 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/1.204, allocations: 51.78 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/1.205, allocations: 302.7 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.205, allocations: 0.7124 MB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/1.205, allocations: 21.16 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.205, allocations: 0 / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.007219/1.212, allocations: 2.923 MB / 1.101 GB, free: 14.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches