Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0008473/0.0008473, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008108/0.0008108, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.683/1.683, allocations: 359 MB / 0.6044 GB, free: 11.09 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.291e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001364/0.001397, allocations: 0.6951 MB / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.002196, allocations: 0.8315 MB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.002233, allocations: 0 / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.002269, allocations: 3.938 kB / 0.9533 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.002335, allocations: 7.922 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.002445, allocations: 15.97 kB / 0.9533 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.002526, allocations: 47.86 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.002634, allocations: 7.984 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.002726, allocations: 27.92 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.002772, allocations: 15.92 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.002798, allocations: 4 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.002807, allocations: 4 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.002827, allocations: 7.984 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.002852, allocations: 15.92 kB / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.002948, allocations: 39.92 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002951, allocations: 0 / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.935e-06/0.002954, allocations: 4 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.002958, allocations: 4 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004109/0.003369, allocations: 286.2 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.003406, allocations: 8.031 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.003438, allocations: 0.9375 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.003523, allocations: 113.7 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.003536, allocations: 8.312 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003547, allocations: 8.312 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.003726, allocations: 66.22 kB / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.003734, allocations: 192 / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.003744, allocations: 12.31 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003749, allocations: 384 / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.003897, allocations: 67.86 kB / 0.954 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.004196, allocations: 212.6 kB / 0.9542 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.004325, allocations: 54.53 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.004404, allocations: 36.92 kB / 0.9543 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.004425, allocations: 3.938 kB / 0.9543 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.004446, allocations: 34.56 kB / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.004448, allocations: 0 / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003233/0.004771, allocations: 137.5 kB / 0.9545 GB, free: 32 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.004813, allocations: 51.41 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.004876, allocations: 105.8 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.004887, allocations: 29.7 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.004923, allocations: 84.14 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.004945, allocations: 15.83 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.004974, allocations: 17.72 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.00505, allocations: 314.8 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.00513, allocations: 35.95 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.005198, allocations: 31.91 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.005336, allocations: 68.78 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005339, allocations: 0 / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001677/0.005506, allocations: 97.62 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.00552, allocations: 7.938 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005526, allocations: 4 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005538, allocations: 336 / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.005623, allocations: 15.97 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005627, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.005666, allocations: 11.98 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.005674, allocations: 4 kB / 0.9554 GB, free: 15.1 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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 5.845e-05/0.005732, allocations: 117.8 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.005745, allocations: 3.953 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.005956, allocations: 113.5 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.005958, allocations: 3.938 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.005963, allocations: 4 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005966, allocations: 4 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.006057, allocations: 105.3 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.00606, allocations: 4 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.00611, allocations: 15.97 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.006113, allocations: 0 / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.00612, allocations: 3.938 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.006124, allocations: 7.938 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006125, allocations: 0 / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.00632, allocations: 195.4 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006331, allocations: 11.94 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006341, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.006393, allocations: 11.92 kB / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.006429, allocations: 4 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.006434, allocations: 4 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.006468, allocations: 95.58 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006468, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001507/0.006619, allocations: 4 kB / 0.956 GB, free: 14.33 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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.0001015/0.00672, allocations: 103.2 kB / 0.9561 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.006914, allocations: 67.86 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006916, allocations: 4 kB / 0.9562 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.006989, allocations: 35.95 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.007235, allocations: 8 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.007517, allocations: 150.4 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.00756, allocations: 63.34 kB / 0.9564 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.007593, allocations: 12.5 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of SimCode: time 9.32e-07/0.007594, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of Templates: time 0.001669/0.009263, allocations: 0.7692 MB / 0.9572 GB, free: 13.07 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 6.298855991102755]