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.008182/0.008182, allocations: 102.5 kB / 15.73 MB, free: 5.961 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.001611/0.001611, allocations: 190 kB / 16.67 MB, free: 5.883 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 56.84 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003188/0.3652, allocations: 1.629 MB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3663, allocations: 0.5746 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.3664, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3666, allocations: 23.73 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.3669, allocations: 115.5 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3673, allocations: 153 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.3675, allocations: 211.5 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3677, allocations: 29.55 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3678, allocations: 99.72 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00893/0.3768, allocations: 1.58 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.3769, allocations: 15.98 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.377, allocations: 35.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.3771, allocations: 35.91 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3772, allocations: 83.56 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.3776, allocations: 195.4 kB / 1.093 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3776, allocations: 0 / 1.093 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3776, allocations: 0 / 1.093 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3776, allocations: 0 / 1.093 GB, free: 13.18 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.0007909/0.3784, allocations: 0.5273 MB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3785, allocations: 12.03 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.37e-05/0.3785, allocations: 16.75 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3788, allocations: 240.4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3789, allocations: 11.94 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.3789, allocations: 12 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3791, allocations: 84.89 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3791, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3791, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3791, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.3792, allocations: 43.97 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.38, allocations: 444.4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3802, allocations: 74.48 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.3802, allocations: 28.84 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3802, allocations: 4.188 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.3804, allocations: 87.31 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.3804, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0002854/0.3807, allocations: 133.7 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3807, allocations: 59.34 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3809, allocations: 183.1 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.381, allocations: 33.7 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.381, allocations: 120.1 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3811, allocations: 27.69 kB / 1.095 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3812, allocations: 53.62 kB / 1.095 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3813, allocations: 330.8 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.3813, allocations: 24 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3816, allocations: 119.7 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3817, allocations: 84.22 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3817, allocations: 3.938 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002153/0.3819, allocations: 133.4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3819, allocations: 8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.382, allocations: 7.938 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.382, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.3821, allocations: 12 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3821, allocations: 7.938 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3823, allocations: 19.83 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3823, allocations: 8 kB / 1.095 GB, free: 9.988 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.0001215/0.3824, allocations: 134 kB / 1.096 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3824, allocations: 19.8 kB / 1.096 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.3825, allocations: 21.34 kB / 1.096 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3825, allocations: 0 / 1.096 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3825, allocations: 0 / 1.096 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3825, allocations: 0 / 1.096 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.383, allocations: 438.2 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.383, allocations: 0 / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.383, allocations: 11.94 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3831, allocations: 0 / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3831, allocations: 4 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3831, allocations: 3.984 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3831, allocations: 0 / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3833, allocations: 207.2 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.3833, allocations: 88.92 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3834, allocations: 0 / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3835, allocations: 15.98 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.3835, allocations: 11.98 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3836, allocations: 8 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3837, allocations: 141.1 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3837, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002968/0.384, allocations: 36 kB / 1.096 GB, free: 8.773 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.0003423/0.3843, allocations: 170.2 kB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3846, allocations: 76.09 kB / 1.097 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3846, allocations: 8.062 kB / 1.097 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.3846, allocations: 39.86 kB / 1.097 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.385, allocations: 57.58 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.3857, allocations: 275.1 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.386, allocations: 0.7163 MB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.472e-05/0.386, allocations: 17.55 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.3861, allocations: 23.42 kB / 1.098 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3861, allocations: 0 / 1.098 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.007297/0.3934, allocations: 3.29 MB / 1.101 GB, free: 4.105 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