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.001087/0.001086, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001372/0.001373, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.438 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.785/2.785, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004024, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7319, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001982/0.734, allocations: 1.395 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.735, allocations: 0.5736 MB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.7351, allocations: 7.938 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.7352, allocations: 35.77 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.7355, allocations: 87.61 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.7358, allocations: 139.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.7361, allocations: 183.4 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.7362, allocations: 17.53 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.7363, allocations: 87.73 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/0.7408, allocations: 3.014 MB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.7409, allocations: 8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.7409, allocations: 28 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.741, allocations: 31.83 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.7411, allocations: 45.64 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.7413, allocations: 131.7 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7413, allocations: 4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7413, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7413, allocations: 0 / 1.028 GB, free: 10.39 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.0006301/0.7419, allocations: 0.4942 MB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.742, allocations: 8.562 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.742, allocations: 15.81 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.7423, allocations: 230.8 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.7423, allocations: 7.953 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.7424, allocations: 15.98 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.7426, allocations: 83.64 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7426, allocations: 0 / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.7426, allocations: 7.922 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.7426, allocations: 4 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.7427, allocations: 35.98 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.7436, allocations: 452.5 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.7437, allocations: 82.47 kB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.7438, allocations: 24.86 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.7438, allocations: 7.938 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.7441, allocations: 87.28 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.674e-06/0.7441, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0003238/0.7444, allocations: 133.6 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7445, allocations: 59.36 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.7447, allocations: 183 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.7447, allocations: 33.7 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7448, allocations: 132.1 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.7448, allocations: 27.7 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.7449, allocations: 0 / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.745, allocations: 326.8 kB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.7451, allocations: 23.98 kB / 1.03 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.7453, allocations: 117.2 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.7454, allocations: 39.95 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7454, allocations: 0 / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002039/0.7456, allocations: 137.2 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7456, allocations: 12.12 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7457, allocations: 0 / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7457, allocations: 7.938 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.7458, allocations: 8 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.7458, allocations: 7.984 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.746, allocations: 27.8 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.746, allocations: 4 kB / 1.031 GB, free: 7.348 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.7461, allocations: 133.8 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.7461, allocations: 15.81 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.7462, allocations: 17.41 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.7462, allocations: 7.984 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7462, allocations: 0 / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.7462, allocations: 4.031 kB / 1.031 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.7468, allocations: 434.2 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7468, allocations: 0 / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.7468, allocations: 7.984 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7468, allocations: 0 / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.7468, allocations: 11.94 kB / 1.031 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7468, allocations: 3.953 kB / 1.031 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7469, allocations: 3.938 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.7471, allocations: 195.9 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.7471, allocations: 100.9 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.7472, allocations: 0 / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.7472, allocations: 11.98 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.7473, allocations: 15.94 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.7473, allocations: 11.94 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001212/0.7475, allocations: 132.1 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7475, allocations: 0 / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.7478, allocations: 40 kB / 1.032 GB, free: 6.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004102/0.7482, allocations: 170.4 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.7484, allocations: 79.91 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7484, allocations: 0 / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.7485, allocations: 31.98 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.7489, allocations: 50.5 kB / 1.032 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.7495, allocations: 299.1 kB / 1.032 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.7499, allocations: 0.7166 MB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.033e-05/0.75, allocations: 25.47 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.75, allocations: 23.42 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.75, allocations: 0 / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.006859/0.7569, allocations: 2.981 MB / 1.036 GB, free: 1.758 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches