Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009783/0.0009783, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001142/0.001142, allocations: 165 kB / 24.17 MB, free: 328 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 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.051/2.051, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.722e-05, allocations: 9.844 kB / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001665/0.001692, allocations: 0.8988 MB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.002961, allocations: 0.9592 MB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.003044, allocations: 4 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.00317, allocations: 12.8 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.003215, allocations: 21.53 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.003393, allocations: 40.38 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003515, allocations: 104.4 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003621, allocations: 35.95 kB / 0.7622 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.00379, allocations: 64.78 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.003846, allocations: 27.91 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.003863, allocations: 8 kB / 0.7623 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.003914, allocations: 13.22 kB / 0.7623 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003933, allocations: 23.91 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.003958, allocations: 23.92 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.004075, allocations: 65.31 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004077, allocations: 0 / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004078, allocations: 4 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004082, allocations: 0 / 0.7624 GB, free: 4.266 MB / 0.7136 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.000337/0.004419, allocations: 297.2 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.004449, allocations: 8.781 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.004558, allocations: 16.92 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.004716, allocations: 158.2 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.004724, allocations: 384 / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.004734, allocations: 12.38 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.004849, allocations: 82.86 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004855, allocations: 192 / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004864, allocations: 5.719 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.004868, allocations: 384 / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.004901, allocations: 23.42 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.005153, allocations: 197.3 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.005224, allocations: 34.52 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.005242, allocations: 13.44 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005255, allocations: 1.469 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.005275, allocations: 38.56 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005276, allocations: 0 / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000116/0.005392, allocations: 49.62 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.005419, allocations: 58.59 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.00549, allocations: 140.2 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.00551, allocations: 29.7 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.005545, allocations: 92.08 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005563, allocations: 15.88 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.005595, allocations: 21.7 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.005668, allocations: 318.8 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.005682, allocations: 7.984 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.005695, allocations: 4 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.005728, allocations: 23.81 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00573, allocations: 0 / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.709e-05/0.005787, allocations: 53.75 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0058, allocations: 8 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005804, allocations: 0 / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.005813, allocations: 0 / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.00587, allocations: 7.984 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005872, allocations: 0 / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.005902, allocations: 13.45 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005908, allocations: 0 / 0.764 GB, free: 2.43 MB / 0.7136 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 5.868e-05/0.005967, allocations: 114.4 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.005985, allocations: 11.92 kB / 0.7642 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.006008, allocations: 13.53 kB / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006009, allocations: 0 / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006012, allocations: 4 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006014, allocations: 2.438 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.006108, allocations: 85.84 kB / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006109, allocations: 0 / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.006134, allocations: 4 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.006138, allocations: 3.938 kB / 0.7643 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006143, allocations: 4 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006144, allocations: 3.984 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006145, allocations: 3.062 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.006224, allocations: 139.7 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.006232, allocations: 3.953 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.006249, allocations: 7.938 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.006292, allocations: 15.92 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.006332, allocations: 19.91 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.006335, allocations: 0 / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.006357, allocations: 28.67 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006357, allocations: 0 / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001204/0.006478, allocations: 15.94 kB / 0.7645 GB, free: 1.922 MB / 0.7136 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 8.202e-05/0.00656, allocations: 78.86 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.489e-05/0.006625, allocations: 24.84 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.006627, allocations: 0 / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.006648, allocations: 16.8 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.006799, allocations: 20.17 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.00719, allocations: 186.6 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.007224, allocations: 59.34 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.007255, allocations: 9.391 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.007318, allocations: 64.66 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.007319, allocations: 0 / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of Templates: time 0.002669/0.009988, allocations: 1.103 MB / 0.766 GB, free: 376 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.2132065570913255]