Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 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.00167/0.00167, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.23 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3499, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00305/0.353, allocations: 1.624 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3542, allocations: 0.5694 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.3543, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.3545, allocations: 31.73 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3549, allocations: 111.5 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3552, allocations: 143.7 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3555, allocations: 207.5 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3556, allocations: 33.52 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3558, allocations: 91.75 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009441/0.3652, allocations: 1.572 MB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.211e-05/0.3654, allocations: 16 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.3655, allocations: 32 kB / 1.073 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.3656, allocations: 35.89 kB / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3657, allocations: 79.58 kB / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.3661, allocations: 191.4 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3661, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3662, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3662, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 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.0008581/0.367, allocations: 0.5313 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3671, allocations: 8.031 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.3672, allocations: 16.75 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3675, allocations: 252.3 kB / 1.074 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3675, allocations: 11.94 kB / 1.074 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3676, allocations: 12 kB / 1.074 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3678, allocations: 81.67 kB / 1.074 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3678, allocations: 3.984 kB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3678, allocations: 0 / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3678, allocations: 7.984 kB / 1.074 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3679, allocations: 39.98 kB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.3687, allocations: 440.4 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3689, allocations: 70.55 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.3689, allocations: 28.84 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3689, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3691, allocations: 91.48 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 3.497e-06/0.3691, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003061/0.3694, allocations: 133.4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3695, allocations: 55.41 kB / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3697, allocations: 194.8 kB / 1.075 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3697, allocations: 33.7 kB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.3698, allocations: 112 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3699, allocations: 27.73 kB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.37, allocations: 53.67 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3701, allocations: 330.8 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.3702, allocations: 31.92 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.3704, allocations: 111.7 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3706, allocations: 94.91 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.3706, allocations: 4 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002379/0.3708, allocations: 133.4 kB / 1.076 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3708, allocations: 8 kB / 1.076 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3708, allocations: 3.938 kB / 1.076 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3709, allocations: 8.125 kB / 1.076 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.371, allocations: 15.98 kB / 1.076 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.371, allocations: 7.984 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3712, allocations: 19.78 kB / 1.076 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3712, allocations: 8 kB / 1.076 GB, free: 2.871 MB / 0.8262 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.0001165/0.3713, allocations: 131.4 kB / 1.076 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3714, allocations: 15.81 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.3714, allocations: 25.33 kB / 1.076 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3714, allocations: 4 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3714, allocations: 0 / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3714, allocations: 0 / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.372, allocations: 430.2 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.372, allocations: 0 / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.372, allocations: 7.984 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.372, allocations: 0 / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.372, allocations: 7.938 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3721, allocations: 4 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3721, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3723, allocations: 203.8 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.3723, allocations: 92.86 kB / 1.077 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3723, allocations: 3.984 kB / 1.077 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.3724, allocations: 8 kB / 1.077 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.3725, allocations: 15.98 kB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.3725, allocations: 15.97 kB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001192/0.3727, allocations: 133.2 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3727, allocations: 0 / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003084/0.373, allocations: 35.98 kB / 1.077 GB, free: 1.66 MB / 0.8262 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.0003501/0.3733, allocations: 181.9 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3736, allocations: 79.91 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3736, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.3736, allocations: 39.92 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.374, allocations: 50.69 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.3746, allocations: 282.8 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3749, allocations: 0.7124 MB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.375, allocations: 21.53 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.3751, allocations: 31.42 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3751, allocations: 0 / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of Templates: time 0.007626/0.3827, allocations: 3.292 MB / 1.081 GB, free: 12.99 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches