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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 218.7 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.505 GB / 0.8108 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 65.89 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 180.2 MB / 1.354 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003047/0.3308, allocations: 1.668 MB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3319, allocations: 0.5816 MB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.332, allocations: 4 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.3322, allocations: 31.73 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.3325, allocations: 107.5 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3329, allocations: 151.7 kB / 1.357 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.3332, allocations: 211.5 kB / 1.357 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3333, allocations: 17.72 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3334, allocations: 103.7 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.3459, allocations: 1.591 MB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.346, allocations: 20 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3462, allocations: 32 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.3462, allocations: 39.83 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3464, allocations: 83.58 kB / 1.359 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.3468, allocations: 199.2 kB / 1.359 GB, free: 3.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3468, allocations: 0 / 1.359 GB, free: 3.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3468, allocations: 0 / 1.359 GB, free: 3.633 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3468, allocations: 0 / 1.359 GB, free: 3.633 MB / 1.045 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.0008108/0.3476, allocations: 464.8 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3476, allocations: 8.031 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3477, allocations: 20.84 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.348, allocations: 174.2 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.348, allocations: 11.92 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.348, allocations: 16 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3482, allocations: 77.61 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3482, allocations: 0 / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3482, allocations: 7.984 kB / 1.36 GB, free: 2.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3482, allocations: 8 kB / 1.36 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.3483, allocations: 39.98 kB / 1.36 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.3491, allocations: 407.5 kB / 1.36 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3493, allocations: 66.5 kB / 1.36 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.3493, allocations: 32.78 kB / 1.36 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3494, allocations: 3.938 kB / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.3496, allocations: 87.38 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.3496, allocations: 0 / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0002938/0.3498, allocations: 133.6 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3499, allocations: 59.34 kB / 1.36 GB, free: 1.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3501, allocations: 195.2 kB / 1.36 GB, free: 1.688 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.3501, allocations: 33.7 kB / 1.361 GB, free: 1.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3502, allocations: 116.2 kB / 1.361 GB, free: 1.531 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3503, allocations: 23.84 kB / 1.361 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.3503, allocations: 53.67 kB / 1.361 GB, free: 1.449 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3505, allocations: 330.8 kB / 1.361 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.3506, allocations: 24 kB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3508, allocations: 119.6 kB / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3509, allocations: 87.11 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3509, allocations: 7.984 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002178/0.3511, allocations: 125.5 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3512, allocations: 5.875 kB / 1.361 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.3512, allocations: 11.92 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3512, allocations: 0 / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.3513, allocations: 15.94 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3513, allocations: 0 / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.3514, allocations: 27.88 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.3515, allocations: 8.125 kB / 1.361 GB, free: 0.6484 MB / 1.045 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.0001387/0.3516, allocations: 142.5 kB / 1.362 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3516, allocations: 15.89 kB / 1.362 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.3517, allocations: 17.34 kB / 1.362 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3517, allocations: 4 kB / 1.362 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3517, allocations: 0 / 1.362 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3517, allocations: 0 / 1.362 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.3522, allocations: 417.2 kB / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3522, allocations: 0 / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3523, allocations: 4.047 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3523, allocations: 0 / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3523, allocations: 0 / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3523, allocations: 0 / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3523, allocations: 0 / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.3525, allocations: 215.7 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.3525, allocations: 15.89 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3525, allocations: 8 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.3526, allocations: 11.98 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3527, allocations: 7.984 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3527, allocations: 11.94 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000131/0.3528, allocations: 136.1 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3528, allocations: 0 / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002986/0.3531, allocations: 43.89 kB / 1.362 GB, free: 15.54 MB / 1.061 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.0003755/0.3535, allocations: 160.6 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3537, allocations: 75.91 kB / 1.363 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3537, allocations: 0 / 1.363 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.3538, allocations: 39.86 kB / 1.363 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3542, allocations: 62.44 kB / 1.363 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.3548, allocations: 292.6 kB / 1.363 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3552, allocations: 0.7167 MB / 1.364 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.3552, allocations: 27.42 kB / 1.364 GB, free: 14.13 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3552, allocations: 0 / 1.364 GB, free: 14.13 MB / 1.061 GB Notification: Performance of Templates: time 0.005509/0.3608, allocations: 2.923 MB / 1.367 GB, free: 11.22 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.01141592199565]