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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001784/0.001784, allocations: 100.1 kB / 15.88 MB, free: 12 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.002321/0.002321, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.88 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003311/0.3367, allocations: 1.778 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.338, allocations: 0.6163 MB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3381, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3384, allocations: 19.86 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3387, allocations: 91.66 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.3391, allocations: 143.7 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.3394, allocations: 203.4 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3395, allocations: 29.53 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3396, allocations: 91.67 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02081/0.3605, allocations: 1.437 MB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.3606, allocations: 8 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3607, allocations: 24 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.3608, allocations: 35.77 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.361, allocations: 67.64 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.3612, allocations: 139.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3612, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3612, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3613, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 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.0008531/0.3621, allocations: 0.5177 MB / 1.058 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3622, allocations: 15.97 kB / 1.058 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.3623, allocations: 16.75 kB / 1.058 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3626, allocations: 247.8 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3626, allocations: 11.94 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.3626, allocations: 15.94 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3628, allocations: 81.66 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3629, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3629, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3629, allocations: 4 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.363, allocations: 47.91 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.3638, allocations: 444.4 kB / 1.059 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.364, allocations: 70.5 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.364, allocations: 32.84 kB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3641, allocations: 0 / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3642, allocations: 87.31 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.3643, allocations: 0 / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0003167/0.3646, allocations: 137.5 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3646, allocations: 59.41 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3648, allocations: 187.1 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3649, allocations: 37.64 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.365, allocations: 116 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.365, allocations: 23.8 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.3651, allocations: 57.66 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3652, allocations: 322.8 kB / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.3653, allocations: 27.98 kB / 1.06 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3655, allocations: 126.3 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3657, allocations: 87.11 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3657, allocations: 0 / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002299/0.3659, allocations: 133.4 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3659, allocations: 4 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.366, allocations: 7.938 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.366, allocations: 0 / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.3661, allocations: 19.92 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3661, allocations: 3.984 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3663, allocations: 31.95 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3663, allocations: 4 kB / 1.06 GB, free: 0.8203 MB / 0.8106 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.3664, allocations: 125.8 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3664, allocations: 15.75 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3665, allocations: 25.33 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3665, allocations: 4 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3665, allocations: 4 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3665, allocations: 0 / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.367, allocations: 434.2 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.367, allocations: 3.938 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.3671, allocations: 4 kB / 1.061 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3671, allocations: 0 / 1.061 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3671, allocations: 4 kB / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3671, allocations: 0 / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3671, allocations: 4 kB / 1.061 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3673, allocations: 203.4 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3674, allocations: 92.94 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3674, allocations: 8 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.3675, allocations: 7.984 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3676, allocations: 15.92 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3676, allocations: 8 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001253/0.3678, allocations: 137.1 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3678, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003222/0.3681, allocations: 47.91 kB / 1.061 GB, free: 15.6 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.0004704/0.3686, allocations: 169.3 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.3688, allocations: 75.91 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3688, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.3689, allocations: 43.86 kB / 1.062 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3694, allocations: 43.09 kB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.3701, allocations: 338.7 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3704, allocations: 0.7166 MB / 1.063 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.3705, allocations: 19.42 kB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of SimCode: time 5e-07/0.3705, allocations: 4 kB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.005714/0.3762, allocations: 2.901 MB / 1.065 GB, free: 11.28 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches