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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 117.1 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=2500,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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003478/0.3492, allocations: 1.644 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3505, allocations: 0.5702 MB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.3506, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.3508, allocations: 35.72 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.3513, allocations: 107.5 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.3517, allocations: 147.3 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.352, allocations: 227.4 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3522, allocations: 17.55 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3523, allocations: 95.73 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.365, allocations: 1.581 MB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.365, allocations: 16 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3652, allocations: 39.97 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.3653, allocations: 31.86 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3655, allocations: 83.61 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.3659, allocations: 203.2 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3659, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3659, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3659, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 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.0009728/0.3669, allocations: 0.5253 MB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.367, allocations: 8.031 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.207e-05/0.3671, allocations: 16.84 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.3674, allocations: 244 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3674, allocations: 11.94 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3675, allocations: 12 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3677, allocations: 81.66 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3677, allocations: 0 / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3677, allocations: 7.938 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3677, allocations: 4 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3678, allocations: 39.97 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.3687, allocations: 448.4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3688, allocations: 62.56 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.3689, allocations: 28.97 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3689, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3691, allocations: 91.38 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.3691, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000341/0.3695, allocations: 133.4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3695, allocations: 59.34 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3697, allocations: 187.1 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.3698, allocations: 33.7 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3699, allocations: 116.2 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3699, allocations: 27.84 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.37, allocations: 57.67 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3702, allocations: 330.8 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.3702, allocations: 20 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.3705, allocations: 114.3 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3706, allocations: 92.22 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3706, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002314/0.3708, allocations: 137.2 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3709, allocations: 7.984 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3709, allocations: 8.062 kB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3709, allocations: 4 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.371, allocations: 15.88 kB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.371, allocations: 4 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3712, allocations: 19.92 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3712, allocations: 4 kB / 1.222 GB, free: 9.395 MB / 0.9669 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.0001334/0.3713, allocations: 133.6 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3713, allocations: 19.89 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.3714, allocations: 21.34 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3714, allocations: 8.031 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3714, allocations: 0 / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3714, allocations: 4 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.372, allocations: 434.2 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.372, allocations: 0 / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.372, allocations: 3.938 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.372, allocations: 4 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.372, allocations: 3.938 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.372, allocations: 4 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.372, allocations: 3.984 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.3722, allocations: 215.8 kB / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.3723, allocations: 85.06 kB / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3723, allocations: 0 / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3724, allocations: 11.98 kB / 1.222 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3725, allocations: 11.98 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3725, allocations: 8 kB / 1.222 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000132/0.3726, allocations: 140.1 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3726, allocations: 0 / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002955/0.3729, allocations: 47.83 kB / 1.223 GB, free: 8.156 MB / 0.9669 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.00039/0.3733, allocations: 160.2 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3735, allocations: 71.91 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3735, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.3736, allocations: 40.17 kB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.374, allocations: 60.17 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.3746, allocations: 308.3 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.375, allocations: 0.7124 MB / 1.224 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.375, allocations: 27.42 kB / 1.224 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.375, allocations: 0 / 1.224 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of Templates: time 0.00573/0.3808, allocations: 2.92 MB / 1.227 GB, free: 3.852 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.399227667134255]