Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.001522/0.001522, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001505/0.001506, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.841/2.841, allocations: 437.1 MB / 0.711 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 69.42 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3591, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00384/0.363, allocations: 1.625 MB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3643, allocations: 0.5656 MB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3645, allocations: 3.938 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.3647, allocations: 31.73 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.3652, allocations: 99.53 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.3656, allocations: 148.8 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3659, allocations: 215.5 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3661, allocations: 25.53 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3663, allocations: 103.7 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.3787, allocations: 1.567 MB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.3788, allocations: 19.94 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.379, allocations: 36 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.379, allocations: 27.91 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3792, allocations: 83.56 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3796, allocations: 187.5 kB / 1.023 GB, free: 6.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3797, allocations: 0 / 1.023 GB, free: 6.352 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3797, allocations: 0 / 1.023 GB, free: 6.352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3797, allocations: 4 kB / 1.023 GB, free: 6.348 MB / 0.795 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.0009366/0.3806, allocations: 0.535 MB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3807, allocations: 8.625 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.3808, allocations: 20.75 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3811, allocations: 235.9 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3812, allocations: 11.94 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.3812, allocations: 12 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3814, allocations: 87.56 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3814, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3815, allocations: 4 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3815, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3816, allocations: 39.98 kB / 1.024 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.3825, allocations: 440.4 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3826, allocations: 70.48 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.3827, allocations: 32.78 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3827, allocations: 4 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.383, allocations: 91.38 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.383, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.000322/0.3833, allocations: 133.5 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3834, allocations: 51.41 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3836, allocations: 195.6 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3836, allocations: 33.7 kB / 1.025 GB, free: 4.156 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3837, allocations: 112 kB / 1.025 GB, free: 4.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3838, allocations: 27.78 kB / 1.025 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.3839, allocations: 57.67 kB / 1.025 GB, free: 3.953 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.384, allocations: 326.8 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.3841, allocations: 27.98 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3844, allocations: 114 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3845, allocations: 90.97 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3845, allocations: 4 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002425/0.3848, allocations: 133.4 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3848, allocations: 7.938 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3848, allocations: 12.05 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3848, allocations: 4 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.3849, allocations: 15.92 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3849, allocations: 4 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3851, allocations: 19.84 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3852, allocations: 8 kB / 1.025 GB, free: 3.148 MB / 0.795 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.0001423/0.3853, allocations: 137.8 kB / 1.026 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3854, allocations: 15.81 kB / 1.026 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.3854, allocations: 29.36 kB / 1.026 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3854, allocations: 0 / 1.026 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3854, allocations: 0 / 1.026 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3854, allocations: 0 / 1.026 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.386, allocations: 434.3 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.386, allocations: 0 / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.386, allocations: 7.922 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.386, allocations: 4 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3861, allocations: 4 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3861, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3861, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3863, allocations: 207.2 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.3864, allocations: 88.95 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3864, allocations: 3.984 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3865, allocations: 8 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.3866, allocations: 23.91 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3866, allocations: 8 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000132/0.3867, allocations: 136.1 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3868, allocations: 0 / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003129/0.3871, allocations: 35.91 kB / 1.027 GB, free: 1.934 MB / 0.795 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.0003924/0.3875, allocations: 168.7 kB / 1.027 GB, free: 1.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3877, allocations: 86.09 kB / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3877, allocations: 0 / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.3878, allocations: 40.23 kB / 1.027 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3882, allocations: 50.45 kB / 1.027 GB, free: 1.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.3889, allocations: 304.6 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3892, allocations: 0.7124 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3893, allocations: 23.44 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of SimCode: time 2.544e-06/0.3893, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of Templates: time 0.006115/0.3954, allocations: 2.906 MB / 1.031 GB, free: 13.64 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches