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.00182/0.00182, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.00203/0.00203, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 178] 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 3.364/3.364, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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 5.641e-06/5.641e-06, allocations: 3.984 kB / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.74e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002186/0.002224, allocations: 0.8504 MB / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003619, allocations: 0.9261 MB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.003707, allocations: 12.94 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.003853, allocations: 15.86 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.003898, allocations: 8.938 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.004106, allocations: 35.91 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.00429, allocations: 108.3 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.004416, allocations: 31.92 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.00462, allocations: 64.41 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.004688, allocations: 29.28 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.004713, allocations: 11.98 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.004765, allocations: 12 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.004789, allocations: 19.92 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.00483, allocations: 20.7 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005026, allocations: 119.5 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005028, allocations: 0.5625 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005029, allocations: 1.094 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005033, allocations: 0 / 0.8797 GB, free: 4.324 MB / 0.8386 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.000665/0.005698, allocations: 428.5 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.005739, allocations: 8.031 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.005914, allocations: 26.31 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.00621, allocations: 158.2 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006226, allocations: 384 / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.00625, allocations: 8.375 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.006511, allocations: 82.22 kB / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.006524, allocations: 4.188 kB / 0.8804 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.006539, allocations: 4.375 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006546, allocations: 4.375 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.006734, allocations: 59.89 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.007327, allocations: 340.4 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.007549, allocations: 68 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.007642, allocations: 27.77 kB / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.007667, allocations: 4 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.007704, allocations: 38.48 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.007705, allocations: 0 / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004067/0.008111, allocations: 99.33 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.008161, allocations: 55.34 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.008339, allocations: 197.9 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.008362, allocations: 29.17 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.008474, allocations: 158.8 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.008495, allocations: 11.89 kB / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.008552, allocations: 27.36 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000268/0.00882, allocations: 0.4962 MB / 0.882 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.008904, allocations: 19.98 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.008994, allocations: 23.98 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.009141, allocations: 47.59 kB / 0.8821 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009142, allocations: 4.875 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.009355, allocations: 86.16 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.00937, allocations: 6.344 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.009374, allocations: 1.312 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.009388, allocations: 4 kB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.00948, allocations: 11.98 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.009484, allocations: 1.344 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.009551, allocations: 8 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.009559, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 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.0003267/0.009886, allocations: 172.5 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.009918, allocations: 7.953 kB / 0.8824 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.009955, allocations: 12.53 kB / 0.8824 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.009959, allocations: 3.984 kB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.009962, allocations: 0 / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009965, allocations: 192 / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01018, allocations: 156.5 kB / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01018, allocations: 0 / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.01024, allocations: 7.984 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01024, allocations: 0 / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01025, allocations: 8 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01025, allocations: 0 / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01026, allocations: 3.938 kB / 0.8825 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.01056, allocations: 231.8 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.01058, allocations: 7.953 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.0106, allocations: 0 / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.01069, allocations: 7.984 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.01076, allocations: 11.98 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01076, allocations: 4 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001192/0.01088, allocations: 151.2 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01088, allocations: 0 / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002149/0.0111, allocations: 15.95 kB / 0.8829 GB, free: 0.7734 MB / 0.8386 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.0001441/0.01124, allocations: 99.25 kB / 0.883 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.01148, allocations: 63.59 kB / 0.8831 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01148, allocations: 0 / 0.8831 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01159, allocations: 35.67 kB / 0.8831 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01187, allocations: 27.86 kB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.01232, allocations: 186.3 kB / 0.8833 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.01242, allocations: 87.11 kB / 0.8834 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.01246, allocations: 8 kB / 0.8834 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.01252, allocations: 16.5 kB / 0.8834 GB, free: 192 kB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01252, allocations: 0 / 0.8834 GB, free: 192 kB / 0.8386 GB Notification: Performance of Templates: time 0.004371/0.01689, allocations: 1.096 MB / 0.8845 GB, free: 15.11 MB / 0.8542 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.534091962967068]