Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0009867/0.0009867, allocations: 82.64 kB / 20.68 MB, free: 3.82 MB / 18.57 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.001238/0.001238, allocations: 185 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9977/0.9977, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.828/1.828, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.7876 GB, free: 11.01 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.627e-05, allocations: 3.281 kB / 0.7876 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001421/0.001447, allocations: 0.6704 MB / 0.7883 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001521/0.001599, allocations: 23.86 kB / 0.7883 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.001643, allocations: 1.625 kB / 0.7883 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.001738, allocations: 3.938 kB / 0.7883 GB, free: 10.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.001777, allocations: 0 / 0.7883 GB, free: 10.33 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.069e-05/0.001837, allocations: 11.98 kB / 0.7883 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.001909, allocations: 21.14 kB / 0.7883 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.002018, allocations: 27.97 kB / 0.7884 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.002054, allocations: 19.92 kB / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.002082, allocations: 8.625 kB / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.002099, allocations: 4 kB / 0.7884 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.002108, allocations: 1.344 kB / 0.7884 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.002135, allocations: 15.92 kB / 0.7884 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.002158, allocations: 7.984 kB / 0.7884 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.002235, allocations: 28.77 kB / 0.7884 GB, free: 10.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002236, allocations: 0 / 0.7884 GB, free: 10.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002237, allocations: 4 kB / 0.7884 GB, free: 10.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.002241, allocations: 0.5625 kB / 0.7884 GB, free: 10.19 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002632/0.002504, allocations: 388.7 kB / 0.7888 GB, free: 9.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.002539, allocations: 11.97 kB / 0.7888 GB, free: 9.758 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.002563, allocations: 9.797 kB / 0.7888 GB, free: 9.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.002662, allocations: 128.5 kB / 0.789 GB, free: 9.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.00267, allocations: 5.031 kB / 0.789 GB, free: 9.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-06/0.002677, allocations: 4.375 kB / 0.789 GB, free: 9.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.888e-05/0.002756, allocations: 47.84 kB / 0.789 GB, free: 9.539 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.002763, allocations: 192 / 0.789 GB, free: 9.539 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.002771, allocations: 4.375 kB / 0.789 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002775, allocations: 384 / 0.789 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.002797, allocations: 24.39 kB / 0.789 GB, free: 9.512 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.003101, allocations: 0.4948 MB / 0.7895 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.412e-05/0.003176, allocations: 268.8 kB / 0.7898 GB, free: 8.715 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.003205, allocations: 126.9 kB / 0.7899 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.003233, allocations: 127.2 kB / 0.79 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.003275, allocations: 152.6 kB / 0.7902 GB, free: 8.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.003276, allocations: 0 / 0.7902 GB, free: 8.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.193e-05/0.003328, allocations: 33.64 kB / 0.7902 GB, free: 8.262 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.003381, allocations: 170.7 kB / 0.7904 GB, free: 8.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.003475, allocations: 173.8 kB / 0.7905 GB, free: 7.895 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.003552, allocations: 25.7 kB / 0.7906 GB, free: 7.863 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.003612, allocations: 155.4 kB / 0.7907 GB, free: 7.707 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.003615, allocations: 0.6094 kB / 0.7907 GB, free: 7.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.003643, allocations: 25.03 kB / 0.7907 GB, free: 7.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.003747, allocations: 496.1 kB / 0.7912 GB, free: 7.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.003755, allocations: 4 kB / 0.7912 GB, free: 7.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.003761, allocations: 0 / 0.7912 GB, free: 7.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.003792, allocations: 17 kB / 0.7912 GB, free: 7.156 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.003794, allocations: 0 / 0.7912 GB, free: 7.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.112e-05/0.003876, allocations: 38.84 kB / 0.7913 GB, free: 7.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.003889, allocations: 8 kB / 0.7913 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.003895, allocations: 0 / 0.7913 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.003904, allocations: 0.6562 kB / 0.7913 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.003947, allocations: 7.984 kB / 0.7913 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00395, allocations: 0.7188 kB / 0.7913 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.003961, allocations: 0 / 0.7913 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.003969, allocations: 5.156 kB / 0.7913 GB, free: 7.094 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.412e-05/0.004053, allocations: 279.7 kB / 0.7915 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.004099, allocations: 153.7 kB / 0.7917 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.004147, allocations: 160.3 kB / 0.7918 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/0.004203, allocations: 268.2 kB / 0.7921 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.004263, allocations: 273.4 kB / 0.7924 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/0.004315, allocations: 264.1 kB / 0.7926 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.004483, allocations: 492.5 kB / 0.7931 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.004518, allocations: 153.4 kB / 0.7932 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.004552, allocations: 148.8 kB / 0.7934 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.508e-05/0.004607, allocations: 268.6 kB / 0.7936 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.004663, allocations: 277.2 kB / 0.7939 GB, free: 4.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.425e-05/0.004717, allocations: 264.1 kB / 0.7941 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.253e-05/0.00477, allocations: 272 kB / 0.7944 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.004888, allocations: 448.8 kB / 0.7948 GB, free: 3.309 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.004925, allocations: 156.8 kB / 0.795 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.004985, allocations: 269.3 kB / 0.7952 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.00504, allocations: 148.8 kB / 0.7954 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.005093, allocations: 268 kB / 0.7956 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.005127, allocations: 154.2 kB / 0.7958 GB, free: 2.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.005171, allocations: 135.2 kB / 0.7959 GB, free: 2.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005171, allocations: 0 / 0.7959 GB, free: 2.168 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001329/0.005304, allocations: 7.938 kB / 0.7959 GB, free: 2.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001149/0.005419, allocations: 215.5 kB / 0.7961 GB, free: 1.938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.987e-05/0.005469, allocations: 12.55 kB / 0.7961 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005471, allocations: 0 / 0.7961 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.005472, allocations: 0.8125 kB / 0.7961 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.00577, allocations: 0.712 MB / 0.7968 GB, free: 1.207 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.005983, allocations: 253.9 kB / 0.7971 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.006015, allocations: 64.14 kB / 0.7971 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.729e-05/0.006032, allocations: 4 kB / 0.7971 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.00607, allocations: 71.14 kB / 0.7972 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.00607, allocations: 0 / 0.7972 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of Templates: time 0.001709/0.007779, allocations: 340.8 kB / 0.7975 GB, free: 464 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8862999230623245]