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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008358/0.0008361, allocations: 90.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.8 MB / 0.7128 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 12 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8013, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002356/0.8037, allocations: 1.437 MB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.8051, allocations: 0.6086 MB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.8053, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.8055, allocations: 19.86 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.8059, allocations: 87.66 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.8063, allocations: 143 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.8066, allocations: 199.6 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.8067, allocations: 29.53 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.8069, allocations: 91.62 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04686/0.8538, allocations: 3.197 MB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.8539, allocations: 8 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.854, allocations: 23.94 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.8541, allocations: 27.91 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.8543, allocations: 105.3 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.8545, allocations: 131.7 kB / 1.03 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8546, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8546, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.8546, allocations: 0 / 1.03 GB, free: 10.47 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007867/0.8554, allocations: 0.4944 MB / 1.03 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8554, allocations: 11.98 kB / 1.03 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.8555, allocations: 20.75 kB / 1.03 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.8558, allocations: 236.5 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.8559, allocations: 7.938 kB / 1.03 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.8559, allocations: 19.98 kB / 1.03 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8561, allocations: 77.66 kB / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8561, allocations: 3.938 kB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8562, allocations: 4 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8562, allocations: 0 / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.8563, allocations: 47.97 kB / 1.031 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.8571, allocations: 452.4 kB / 1.031 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.8572, allocations: 66.5 kB / 1.031 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.8573, allocations: 32.84 kB / 1.031 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.8573, allocations: 0 / 1.031 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.8575, allocations: 87.28 kB / 1.031 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.8575, allocations: 7.938 kB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002966/0.8578, allocations: 137.8 kB / 1.031 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.8578, allocations: 59.39 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.858, allocations: 183.1 kB / 1.031 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.8581, allocations: 33.7 kB / 1.032 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8582, allocations: 120.1 kB / 1.032 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.8582, allocations: 23.7 kB / 1.032 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.8583, allocations: 25.7 kB / 1.032 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8584, allocations: 330.8 kB / 1.032 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.8584, allocations: 24 kB / 1.032 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.8587, allocations: 117.9 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.8588, allocations: 96.16 kB / 1.032 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8588, allocations: 4 kB / 1.032 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002179/0.859, allocations: 125.4 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8591, allocations: 7.984 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8591, allocations: 3.938 kB / 1.032 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8591, allocations: 4 kB / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.8592, allocations: 16.06 kB / 1.032 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.8592, allocations: 4 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.8594, allocations: 27.86 kB / 1.032 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.8594, allocations: 4 kB / 1.032 GB, free: 7.32 MB / 0.7794 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.0001426/0.8596, allocations: 133.8 kB / 1.033 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.8596, allocations: 19.8 kB / 1.033 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.8597, allocations: 21.34 kB / 1.033 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8597, allocations: 4 kB / 1.033 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8597, allocations: 0 / 1.033 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8597, allocations: 0 / 1.033 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.8602, allocations: 446.2 kB / 1.033 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8603, allocations: 0 / 1.033 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.8603, allocations: 4 kB / 1.033 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.8603, allocations: 8 kB / 1.033 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8603, allocations: 0 / 1.033 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8603, allocations: 0 / 1.033 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8603, allocations: 4.031 kB / 1.033 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.8606, allocations: 215.1 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.8607, allocations: 88.92 kB / 1.033 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.8607, allocations: 8 kB / 1.033 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.8608, allocations: 11.98 kB / 1.033 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.8609, allocations: 11.98 kB / 1.033 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.8609, allocations: 11.98 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001986/0.8611, allocations: 133.2 kB / 1.033 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8611, allocations: 3.938 kB / 1.033 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003028/0.8615, allocations: 35.98 kB / 1.034 GB, free: 6.09 MB / 0.7794 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.0003562/0.8618, allocations: 163.8 kB / 1.034 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.862, allocations: 85.84 kB / 1.034 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8621, allocations: 0 / 1.034 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.8621, allocations: 39.92 kB / 1.034 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.8625, allocations: 48.75 kB / 1.034 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.8633, allocations: 335.8 kB / 1.034 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.8637, allocations: 0.7166 MB / 1.035 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.8638, allocations: 23.42 kB / 1.035 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.8638, allocations: 0 / 1.035 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.006282/0.87, allocations: 2.879 MB / 1.038 GB, free: 1.785 MB / 0.7794 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