Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001855/0.001855, allocations: 92.7 kB / 19.44 MB, free: 324 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.002349/0.002349, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.208/3.208, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.132e-05, allocations: 6.75 kB / 0.8777 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002006/0.002038, allocations: 0.8137 MB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.003491, allocations: 0.9045 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.003585, allocations: 10.41 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.003739, allocations: 16.12 kB / 0.8794 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.003782, allocations: 9.578 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.004015, allocations: 39.84 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004164, allocations: 67.78 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.004277, allocations: 23.97 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.004455, allocations: 44.34 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.00454, allocations: 33.58 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.004566, allocations: 8 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.004615, allocations: 8 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.00464, allocations: 7.938 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.00469, allocations: 23.92 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.004886, allocations: 84.16 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.004893, allocations: 5.344 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004893, allocations: 0 / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.004898, allocations: 0 / 0.8797 GB, free: 4.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006367/0.005535, allocations: 314.7 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005573, allocations: 8.688 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.005759, allocations: 25.33 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.006046, allocations: 143.2 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.006066, allocations: 384 / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.006083, allocations: 8.375 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.006255, allocations: 64.11 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.006264, allocations: 192 / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006274, allocations: 384 / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.006282, allocations: 4.375 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.006403, allocations: 34.52 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.006919, allocations: 260.4 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.007109, allocations: 46.55 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.007177, allocations: 24.94 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.007194, allocations: 0.7188 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.00723, allocations: 31.91 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.00723, allocations: 96 / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000285/0.007515, allocations: 81.56 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.007565, allocations: 59.34 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.00771, allocations: 136.2 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.007735, allocations: 25.7 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.00782, allocations: 100.1 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.007839, allocations: 7.891 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.007888, allocations: 21.7 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.008083, allocations: 318.8 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.008144, allocations: 15.98 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.00819, allocations: 12 kB / 0.8814 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.008292, allocations: 36.77 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.008294, allocations: 0 / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001608/0.008454, allocations: 73.58 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.008472, allocations: 8 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008476, allocations: 0 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.008495, allocations: 0 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.008566, allocations: 7.984 kB / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.008574, allocations: 4 kB / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.00865, allocations: 7.984 kB / 0.8815 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.008659, allocations: 8 kB / 0.8815 GB, free: 2.371 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 (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 prepare postOptimizeDAE: time 0.0001163/0.008775, allocations: 113.8 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.008811, allocations: 15.83 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.008844, allocations: 8.344 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008846, allocations: 0 / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.008853, allocations: 3.984 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008856, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.009031, allocations: 117.3 kB / 0.8818 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009032, allocations: 0 / 0.8818 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.009081, allocations: 11.92 kB / 0.8818 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009082, allocations: 4 kB / 0.8818 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.009093, allocations: 4 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009094, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009094, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.009316, allocations: 155.8 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.009339, allocations: 11.89 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.00936, allocations: 4 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.009467, allocations: 11.98 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.009528, allocations: 15.89 kB / 0.882 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.009537, allocations: 7.984 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.009628, allocations: 105.8 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009628, allocations: 0 / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002344/0.009862, allocations: 8 kB / 0.8821 GB, free: 1.727 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 (3): * Single equations (assignments): 3 * 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.0001546/0.01002, allocations: 99.25 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.01018, allocations: 35.97 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01018, allocations: 0 / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.01024, allocations: 8 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01051, allocations: 23.86 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.01095, allocations: 168.1 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.01104, allocations: 75.33 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.01107, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.01112, allocations: 16.5 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01112, allocations: 4 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of Templates: time 0.004109/0.01523, allocations: 0.9236 MB / 0.8834 GB, free: 352 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.306293349014595]