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.001862/0.001862, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002347/0.002347, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.597/1.597, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.883/2.883, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.196e-06/3.196e-06, allocations: 0 / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.473e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002156/0.002191, allocations: 0.8312 MB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003658, allocations: 0.9249 MB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.003753, allocations: 4 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.003902, allocations: 19.73 kB / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.003951, allocations: 15.86 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.004207, allocations: 39.89 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004385, allocations: 103.7 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.00454, allocations: 35.91 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.004753, allocations: 59.88 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.004835, allocations: 31.84 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.004864, allocations: 8 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.004916, allocations: 12 kB / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.004951, allocations: 19.91 kB / 0.9835 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.004991, allocations: 23.92 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.005198, allocations: 115.5 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005201, allocations: 0 / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.22e-07/0.005202, allocations: 4 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.005208, allocations: 0 / 0.9837 GB, free: 9.617 MB / 0.9356 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.0007226/0.00593, allocations: 341.9 kB / 0.984 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.005975, allocations: 8.031 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.006158, allocations: 20.88 kB / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.006435, allocations: 137.6 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.006456, allocations: 12.38 kB / 0.9842 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.006475, allocations: 4.375 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.006749, allocations: 98.14 kB / 0.9843 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.00676, allocations: 192 / 0.9843 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.006776, allocations: 4.375 kB / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.006782, allocations: 384 / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.007039, allocations: 71.88 kB / 0.9844 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.007609, allocations: 280.2 kB / 0.9846 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.007879, allocations: 66.52 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.008002, allocations: 32.92 kB / 0.9847 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.008024, allocations: 4 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.008054, allocations: 34.56 kB / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.008055, allocations: 0 / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004952/0.008551, allocations: 121.5 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.008595, allocations: 51.41 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.008736, allocations: 139.7 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.008759, allocations: 25.7 kB / 0.9851 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.008843, allocations: 108.1 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.008869, allocations: 11.89 kB / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.008926, allocations: 21.7 kB / 0.9852 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.009104, allocations: 322.8 kB / 0.9855 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.009229, allocations: 31.97 kB / 0.9855 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.009342, allocations: 31.97 kB / 0.9856 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.009561, allocations: 60.88 kB / 0.9856 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009563, allocations: 0 / 0.9856 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002931/0.009856, allocations: 101.6 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.009874, allocations: 8 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009879, allocations: 3.938 kB / 0.9857 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.009894, allocations: 0 / 0.9857 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01, allocations: 15.92 kB / 0.9858 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01001, allocations: 0 / 0.9858 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01012, allocations: 19.92 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01013, allocations: 8 kB / 0.9858 GB, free: 7.289 MB / 0.9356 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 0.0001216/0.01026, allocations: 117.8 kB / 0.9859 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01029, allocations: 7.953 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.01032, allocations: 8.344 kB / 0.9859 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01033, allocations: 7.922 kB / 0.9859 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01033, allocations: 0 / 0.9859 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.01033, allocations: 0 / 0.9859 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.01051, allocations: 133.2 kB / 0.986 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01051, allocations: 0 / 0.986 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.01059, allocations: 11.98 kB / 0.9861 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01059, allocations: 4 kB / 0.9861 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.0106, allocations: 0 / 0.9861 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.0106, allocations: 0 / 0.9861 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01061, allocations: 0 / 0.9861 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01094, allocations: 191.4 kB / 0.9862 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.01096, allocations: 7.953 kB / 0.9863 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01098, allocations: 3.984 kB / 0.9863 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01112, allocations: 16.05 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.01121, allocations: 15.98 kB / 0.9863 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01121, allocations: 3.984 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.01129, allocations: 107.2 kB / 0.9864 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 0 / 0.9864 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002209/0.01151, allocations: 8 kB / 0.9864 GB, free: 6.602 MB / 0.9356 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.0001471/0.01166, allocations: 95.78 kB / 0.9865 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.01197, allocations: 67.94 kB / 0.9866 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01197, allocations: 0 / 0.9866 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.0121, allocations: 40.14 kB / 0.9866 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01238, allocations: 14.28 kB / 0.9866 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.01284, allocations: 177.3 kB / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.01293, allocations: 79.33 kB / 0.9869 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.514e-05/0.01298, allocations: 11.97 kB / 0.9869 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.01302, allocations: 20.44 kB / 0.9869 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01302, allocations: 0 / 0.9869 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of Templates: time 0.004583/0.01761, allocations: 1.077 MB / 0.9879 GB, free: 5 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.450297243893147]