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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 115.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00198/0.00198, allocations: 67.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002008/1.114, allocations: 0.8696 MB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/1.115, allocations: 0.8882 MB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/1.115, allocations: 3.188 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/1.116, allocations: 16.03 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/1.116, allocations: 21.97 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/1.116, allocations: 38.92 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.116, allocations: 94.72 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/1.116, allocations: 48.14 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/1.116, allocations: 43.52 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/1.116, allocations: 41.95 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/1.116, allocations: 7.406 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/1.116, allocations: 7.625 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/1.116, allocations: 18.2 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/1.116, allocations: 38.89 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/1.117, allocations: 104.6 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.117, allocations: 1.391 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.053e-06/1.117, allocations: 3.938 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.117, allocations: 0 / 1.265 GB, free: 6.539 MB / 0.9981 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.0005876/1.117, allocations: 408.5 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.117, allocations: 9.031 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.117, allocations: 14.66 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.118, allocations: 207.2 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.118, allocations: 6.719 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.118, allocations: 5.375 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/1.118, allocations: 91.58 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.118, allocations: 192 / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/1.118, allocations: 5.25 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.118, allocations: 6 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/1.118, allocations: 77.39 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/1.119, allocations: 354.9 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/1.119, allocations: 70.14 kB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/1.119, allocations: 32.84 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.119, allocations: 0.7812 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/1.119, allocations: 32.12 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.119, allocations: 0 / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004445/1.12, allocations: 127.3 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/1.12, allocations: 52.89 kB / 1.266 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/1.12, allocations: 138.4 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.12, allocations: 27.5 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/1.12, allocations: 99.95 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/1.12, allocations: 14.91 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/1.12, allocations: 18.92 kB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/1.12, allocations: 323.8 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.12, allocations: 31.67 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/1.12, allocations: 27.59 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/1.12, allocations: 62.53 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.12, allocations: 0.6562 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002805/1.121, allocations: 107.4 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.121, allocations: 5.922 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.121, allocations: 4.797 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.121, allocations: 0.8438 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.121, allocations: 15.59 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.121, allocations: 4.781 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.121, allocations: 19.5 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.121, allocations: 0.8438 kB / 1.267 GB, free: 4.609 MB / 0.9981 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.976e-05/1.121, allocations: 118.5 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/1.121, allocations: 7.812 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/1.121, allocations: 11.48 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.121, allocations: 0.8438 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.121, allocations: 4.875 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.121, allocations: 0.6094 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.121, allocations: 189 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.121, allocations: 4.656 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/1.121, allocations: 19.19 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.121, allocations: 1.234 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/1.121, allocations: 0.5625 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.121, allocations: 0.8125 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.121, allocations: 5.281 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/1.122, allocations: 189.6 kB / 1.268 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/1.122, allocations: 84 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/1.122, allocations: 1.453 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/1.122, allocations: 14.72 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/1.122, allocations: 17.2 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/1.122, allocations: 5.547 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.192e-05/1.122, allocations: 101.6 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.122, allocations: 4 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002199/1.122, allocations: 14.38 kB / 1.268 GB, free: 3.906 MB / 0.9981 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 0.000125/1.122, allocations: 103.3 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003033/1.123, allocations: 65.27 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.123, allocations: 0.8438 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.123, allocations: 38.98 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/1.123, allocations: 8.641 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/1.123, allocations: 214.3 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/1.124, allocations: 0.694 MB / 1.269 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/1.124, allocations: 24.58 kB / 1.269 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.124, allocations: 0 / 1.269 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of Templates: time 0.003218/1.127, allocations: 1.124 MB / 1.27 GB, free: 2.812 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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: 11.683350740000606]