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.0008048/0.0008048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006983/0.006983, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.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.487/2.487, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 11.94 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7819, allocations: 142.4 MB / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002231/0.7842, allocations: 1.432 MB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.7854, allocations: 0.5993 MB / 0.957 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.7855, allocations: 9.344 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.7857, allocations: 31.47 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.786, allocations: 82.17 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.7864, allocations: 140.1 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.7866, allocations: 199.7 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7867, allocations: 24.25 kB / 0.9575 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.7869, allocations: 87.84 kB / 0.9576 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04724/0.8341, allocations: 3.199 MB / 0.9607 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.8343, allocations: 11.91 kB / 0.9607 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.8346, allocations: 30.55 kB / 0.9607 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.8347, allocations: 22.83 kB / 0.9607 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.8349, allocations: 104.7 kB / 0.9608 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.8355, allocations: 181.2 kB / 0.961 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.8355, allocations: 1.156 kB / 0.961 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.498e-06/0.8355, allocations: 0 / 0.961 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.8355, allocations: 4 kB / 0.961 GB, free: 4.277 MB / 0.7169 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.001127/0.8367, allocations: 492.1 kB / 0.9615 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/0.8368, allocations: 9.75 kB / 0.9615 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.8369, allocations: 17.94 kB / 0.9615 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.8373, allocations: 241.8 kB / 0.9618 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.8374, allocations: 17.34 kB / 0.9618 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.8375, allocations: 8.906 kB / 0.9618 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.8377, allocations: 87.42 kB / 0.9619 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.8377, allocations: 0 / 0.9619 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.8378, allocations: 5.031 kB / 0.9619 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.8378, allocations: 2.125 kB / 0.9619 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.8379, allocations: 39.64 kB / 0.9619 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.839, allocations: 459.4 kB / 0.9623 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.8392, allocations: 65.09 kB / 0.9624 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.8393, allocations: 35.22 kB / 0.9624 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.8393, allocations: 5.031 kB / 0.9624 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.8395, allocations: 90.78 kB / 0.9625 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.8395, allocations: 0 / 0.9625 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004373/0.84, allocations: 126.2 kB / 0.9626 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.8401, allocations: 53.72 kB / 0.9627 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.8403, allocations: 198.3 kB / 0.9629 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.8404, allocations: 33.52 kB / 0.9629 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.8405, allocations: 116.5 kB / 0.963 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.8406, allocations: 24.89 kB / 0.9631 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.8406, allocations: 28.2 kB / 0.9631 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8407, allocations: 326.4 kB / 0.9634 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.8408, allocations: 26.55 kB / 0.9634 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.8411, allocations: 128 kB / 0.9635 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.8412, allocations: 81.67 kB / 0.9636 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8413, allocations: 1.188 kB / 0.9636 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002869/0.8415, allocations: 143.8 kB / 0.9638 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8416, allocations: 3.5 kB / 0.9638 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8416, allocations: 7.531 kB / 0.9638 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.8416, allocations: 0 / 0.9638 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.8417, allocations: 15.02 kB / 0.9638 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.8417, allocations: 3.938 kB / 0.9638 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.842, allocations: 28.3 kB / 0.9638 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.842, allocations: 10.06 kB / 0.9638 GB, free: 1.75 MB / 0.7169 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.0001251/0.8421, allocations: 130.4 kB / 0.9639 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.8421, allocations: 13.28 kB / 0.964 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.8422, allocations: 24.48 kB / 0.964 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8422, allocations: 1.344 kB / 0.964 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.8422, allocations: 0 / 0.964 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8422, allocations: 0 / 0.964 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.8428, allocations: 448.2 kB / 0.9644 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8428, allocations: 1.094 kB / 0.9644 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.8428, allocations: 6.062 kB / 0.9644 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.8429, allocations: 1.156 kB / 0.9644 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.8429, allocations: 5.562 kB / 0.9644 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.8429, allocations: 0 / 0.9644 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8429, allocations: 1.281 kB / 0.9644 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.8431, allocations: 210.9 kB / 0.9646 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.8432, allocations: 92.52 kB / 0.9647 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.8432, allocations: 1.438 kB / 0.9647 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8433, allocations: 14.61 kB / 0.9647 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.8434, allocations: 14.89 kB / 0.9647 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.8434, allocations: 8.703 kB / 0.9648 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001271/0.8436, allocations: 139.2 kB / 0.9649 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8436, allocations: 1.438 kB / 0.9649 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003531/0.8439, allocations: 41.42 kB / 0.9649 GB, free: 0.7617 MB / 0.7169 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.0003985/0.8443, allocations: 171 kB / 0.9651 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.8446, allocations: 81.47 kB / 0.9652 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8446, allocations: 1.062 kB / 0.9652 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.8447, allocations: 39.52 kB / 0.9652 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.8451, allocations: 57.62 kB / 0.9653 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.8458, allocations: 304.8 kB / 0.9656 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.8461, allocations: 0.7126 MB / 0.9662 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.8462, allocations: 21.33 kB / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.8462, allocations: 21.86 kB / 0.9663 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of SimCode: time 6.12e-07/0.8462, allocations: 0 / 0.9663 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.009603/0.8558, allocations: 3.093 MB / 0.9693 GB, free: 14.03 MB / 0.7325 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