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.01016/0.01016, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.002084/0.002084, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.618/2.618, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 66.02 kB / 0.9508 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3522, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003317/0.3555, allocations: 1.629 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3568, allocations: 0.563 MB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.3569, allocations: 3.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3571, allocations: 27.78 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.3575, allocations: 115.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3579, allocations: 150.5 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3583, allocations: 215.5 kB / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3584, allocations: 21.55 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3586, allocations: 95.73 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009564/0.3681, allocations: 1.585 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.3682, allocations: 16 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3684, allocations: 32 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.3685, allocations: 35.84 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3686, allocations: 83.56 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.3691, allocations: 203.2 kB / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3692, allocations: 0 / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3692, allocations: 0 / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3692, allocations: 0 / 1.093 GB, free: 13.28 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.001217/0.3704, allocations: 0.5215 MB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.3705, allocations: 16.02 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3706, allocations: 16.84 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.371, allocations: 236.6 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.3711, allocations: 11.94 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.3711, allocations: 12 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3714, allocations: 83.84 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3714, allocations: 8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.3714, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3715, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3716, allocations: 43.97 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3726, allocations: 432.5 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3728, allocations: 74.5 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.3729, allocations: 32.84 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3729, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.3731, allocations: 87.31 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.3732, allocations: 3.938 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003422/0.3735, allocations: 137.6 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3736, allocations: 59.41 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.3738, allocations: 187.2 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3739, allocations: 29.64 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.374, allocations: 124.2 kB / 1.095 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.374, allocations: 31.78 kB / 1.095 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3741, allocations: 49.69 kB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3743, allocations: 326.8 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.3744, allocations: 27.98 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3746, allocations: 121.6 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3748, allocations: 84.23 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3748, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002611/0.3751, allocations: 133.5 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3751, allocations: 4 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3751, allocations: 7.938 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.3752, allocations: 3.984 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3753, allocations: 15.94 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3753, allocations: 128 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3755, allocations: 27.88 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3755, allocations: 8 kB / 1.095 GB, free: 10.09 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.000162/0.3757, allocations: 131.7 kB / 1.096 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.3757, allocations: 19.94 kB / 1.096 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3758, allocations: 25.33 kB / 1.096 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3758, allocations: 0 / 1.096 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3758, allocations: 4 kB / 1.096 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3758, allocations: 0 / 1.096 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.3764, allocations: 442.2 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3764, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.3764, allocations: 8 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3764, allocations: 0 / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3765, allocations: 0 / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3765, allocations: 0 / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3765, allocations: 0 / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3767, allocations: 215.8 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.3768, allocations: 97.02 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3768, allocations: 0 / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.3769, allocations: 11.98 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.377, allocations: 11.98 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.377, allocations: 4 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001357/0.3772, allocations: 141.1 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 3.938 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003107/0.3775, allocations: 40 kB / 1.096 GB, free: 8.859 MB / 0.8575 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.000352/0.3779, allocations: 159.8 kB / 1.097 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3781, allocations: 83.02 kB / 1.097 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3781, allocations: 0 / 1.097 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.3782, allocations: 39.92 kB / 1.097 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3786, allocations: 53.02 kB / 1.097 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.3792, allocations: 271 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3796, allocations: 0.7124 MB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.565e-05/0.3797, allocations: 25.47 kB / 1.098 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.3798, allocations: 27.42 kB / 1.098 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of SimCode: time 2.014e-06/0.3798, allocations: 0 / 1.098 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of Templates: time 0.00837/0.3881, allocations: 3.287 MB / 1.101 GB, free: 4.203 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches