Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 102.3 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.001715/0.001715, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.225/3.225, allocations: 0.49 GB / 0.7958 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00243/0.00243, allocations: 80.55 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.429, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00326/0.4323, allocations: 1.665 MB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4335, allocations: 0.585 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.646e-05/0.4336, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.4338, allocations: 19.8 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.4341, allocations: 123.4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.4345, allocations: 143.6 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.4348, allocations: 219.5 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4349, allocations: 21.73 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.435, allocations: 99.73 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.4475, allocations: 1.585 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.4476, allocations: 16 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.4478, allocations: 43.92 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.4479, allocations: 35.83 kB / 1.332 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.448, allocations: 75.64 kB / 1.332 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.4485, allocations: 199.2 kB / 1.332 GB, free: 13.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4485, allocations: 4 kB / 1.332 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4485, allocations: 3.938 kB / 1.332 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4485, allocations: 0 / 1.332 GB, free: 13.08 MB / 1.029 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.0009666/0.4495, allocations: 456.9 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4495, allocations: 12.03 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.4496, allocations: 20.84 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.45, allocations: 178.7 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.45, allocations: 19.94 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.45, allocations: 15.94 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4502, allocations: 81.66 kB / 1.333 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4503, allocations: 0 / 1.333 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4503, allocations: 3.938 kB / 1.333 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4503, allocations: 0 / 1.333 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4504, allocations: 43.97 kB / 1.333 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.4513, allocations: 411.5 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4514, allocations: 62.53 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.4515, allocations: 24.86 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.4515, allocations: 7.984 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.4518, allocations: 91.45 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.4518, allocations: 4 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003487/0.4521, allocations: 141.7 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.4522, allocations: 51.41 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.4524, allocations: 183.2 kB / 1.334 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4524, allocations: 33.7 kB / 1.334 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4526, allocations: 128.1 kB / 1.334 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4526, allocations: 19.86 kB / 1.334 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4527, allocations: 57.67 kB / 1.334 GB, free: 10.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4529, allocations: 322.8 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.4529, allocations: 27.98 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.4532, allocations: 118.3 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.4533, allocations: 88.22 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4533, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000252/0.4536, allocations: 138.3 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4536, allocations: 8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4536, allocations: 4.062 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4536, allocations: 8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.4537, allocations: 8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4537, allocations: 4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4539, allocations: 23.88 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4539, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 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.0001523/0.454, allocations: 138.6 kB / 1.335 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4541, allocations: 15.91 kB / 1.335 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.4541, allocations: 21.34 kB / 1.335 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4541, allocations: 4 kB / 1.335 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4541, allocations: 4 kB / 1.335 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4541, allocations: 3.984 kB / 1.335 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.4547, allocations: 409.3 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4547, allocations: 0 / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.4547, allocations: 4 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4547, allocations: 0 / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4548, allocations: 11.98 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4548, allocations: 4 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4548, allocations: 0 / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.455, allocations: 207.2 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.455, allocations: 15.91 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.455, allocations: 0 / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.4551, allocations: 7.984 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4552, allocations: 15.98 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.4552, allocations: 7.984 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001508/0.4554, allocations: 136.1 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4554, allocations: 0 / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003183/0.4557, allocations: 47.86 kB / 1.335 GB, free: 8.98 MB / 1.029 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.0004552/0.4562, allocations: 165.5 kB / 1.336 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4564, allocations: 83.78 kB / 1.336 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4564, allocations: 0 / 1.336 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.4565, allocations: 28 kB / 1.336 GB, free: 8.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4569, allocations: 57.88 kB / 1.336 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.4576, allocations: 300.7 kB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.458, allocations: 0.7163 MB / 1.337 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.4581, allocations: 23.42 kB / 1.337 GB, free: 7.582 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4581, allocations: 4 kB / 1.337 GB, free: 7.578 MB / 1.029 GB Notification: Performance of Templates: time 0.006682/0.4647, allocations: 2.914 MB / 1.34 GB, free: 4.676 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.127247444994282]