Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001401/0.001401, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001513/0.001513, allocations: 173 kB / 23.36 MB, free: 1.133 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.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.46/2.46, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.938 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.504e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002107/0.002132, allocations: 0.8506 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003451, allocations: 0.9441 MB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.003555, allocations: 4 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.003698, allocations: 15.81 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.003746, allocations: 19.86 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.003972, allocations: 39.83 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.004115, allocations: 99.7 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.004247, allocations: 39.94 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.004453, allocations: 63.81 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.004526, allocations: 31.91 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.004547, allocations: 8 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.004593, allocations: 8 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.004617, allocations: 23.91 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.004645, allocations: 20 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.00479, allocations: 79.59 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004792, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004793, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004797, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004167/0.005214, allocations: 296.5 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005252, allocations: 12.62 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.00539, allocations: 20.92 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.00557, allocations: 141.6 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.005583, allocations: 8.375 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.005597, allocations: 8.312 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.005762, allocations: 78.91 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.005771, allocations: 192 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.005784, allocations: 8.359 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005791, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.005836, allocations: 23.69 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.006193, allocations: 204.1 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006293, allocations: 34.5 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.006315, allocations: 12.86 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.006329, allocations: 4 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.006355, allocations: 38.48 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006356, allocations: 0 / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001437/0.006499, allocations: 49.77 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.006534, allocations: 51.41 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.006625, allocations: 141.1 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.006646, allocations: 25.7 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.006699, allocations: 112 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.00672, allocations: 11.89 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.006757, allocations: 13.72 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.006858, allocations: 322.8 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006876, allocations: 4 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.006895, allocations: 7.938 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.006935, allocations: 20.83 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006937, allocations: 128 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.163e-05/0.007019, allocations: 53.62 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.007032, allocations: 8 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007037, allocations: 3.984 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.00705, allocations: 4 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.007115, allocations: 4 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007119, allocations: 4 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.007164, allocations: 7.984 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.00717, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.75e-05/0.007248, allocations: 117.8 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.007275, allocations: 7.938 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.007304, allocations: 12.33 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.007307, allocations: 4 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.007309, allocations: 4 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.007312, allocations: 0 / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.007447, allocations: 77.88 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007448, allocations: 0 / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.007485, allocations: 7.984 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007488, allocations: 3.938 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007494, allocations: 4 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007495, allocations: 0 / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007496, allocations: 0 / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007602, allocations: 143.5 kB / 0.8429 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.007613, allocations: 11.95 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.007633, allocations: 3.938 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.007705, allocations: 11.98 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.007752, allocations: 11.98 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.007757, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.007787, allocations: 27.64 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007787, allocations: 3.938 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002292/0.008016, allocations: 19.89 kB / 0.843 GB, free: 9.539 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.7e-05/0.008113, allocations: 84.62 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.008197, allocations: 28.92 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0082, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.008231, allocations: 20.78 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.008438, allocations: 12 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.008917, allocations: 192.5 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.008963, allocations: 63.34 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.009001, allocations: 4 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.009083, allocations: 59.36 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/0.009084, allocations: 0 / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of Templates: time 0.003475/0.01256, allocations: 1.104 MB / 0.8445 GB, free: 7.93 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.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: 5.320806430187076]