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.0009476/0.0009476, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001391/0.001391, allocations: 173.3 kB / 23.5 MB, free: 1.059 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 0.9788/0.9788, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.215/2.215, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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 3.086e-06/3.086e-06, allocations: 1.094 kB / 0.8783 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.498e-05, allocations: 3.125 kB / 0.8783 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001795/0.00183, allocations: 0.8605 MB / 0.8791 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.002899, allocations: 0.9493 MB / 0.88 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.003015, allocations: 5.031 kB / 0.88 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.003164, allocations: 11.86 kB / 0.88 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.003203, allocations: 12.94 kB / 0.8801 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003443, allocations: 39.95 kB / 0.8801 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003583, allocations: 104.8 kB / 0.8802 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.003725, allocations: 43.78 kB / 0.8802 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.003915, allocations: 59.83 kB / 0.8803 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.003984, allocations: 32.92 kB / 0.8803 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.004005, allocations: 8 kB / 0.8803 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.004063, allocations: 12 kB / 0.8803 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.00408, allocations: 12.95 kB / 0.8804 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.004111, allocations: 27.91 kB / 0.8804 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004272, allocations: 72.12 kB / 0.8805 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004276, allocations: 1.844 kB / 0.8805 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004277, allocations: 0 / 0.8805 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.004283, allocations: 4 kB / 0.8805 GB, free: 3.215 MB / 0.7917 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.0004529/0.004736, allocations: 428.2 kB / 0.8809 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.004778, allocations: 9.375 kB / 0.8809 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.004927, allocations: 20.88 kB / 0.8809 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.005139, allocations: 153.5 kB / 0.881 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005153, allocations: 8.375 kB / 0.8811 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.005168, allocations: 4.375 kB / 0.8811 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.005343, allocations: 87.52 kB / 0.8811 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00535, allocations: 0.75 kB / 0.8811 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.005362, allocations: 4.062 kB / 0.8811 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.00537, allocations: 384 / 0.8811 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.005422, allocations: 30.55 kB / 0.8812 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.005838, allocations: 327.5 kB / 0.8815 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.005959, allocations: 47.05 kB / 0.8815 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.005989, allocations: 11.69 kB / 0.8815 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.006005, allocations: 0 / 0.8815 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.006034, allocations: 37.39 kB / 0.8816 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.006035, allocations: 1.75 kB / 0.8816 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.006239, allocations: 61.86 kB / 0.8816 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.006273, allocations: 55.39 kB / 0.8817 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.006377, allocations: 190.7 kB / 0.8819 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.006401, allocations: 25.7 kB / 0.8819 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.006467, allocations: 151.7 kB / 0.882 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.006487, allocations: 7.953 kB / 0.882 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.006524, allocations: 24.97 kB / 0.8821 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006639, allocations: 0.4961 MB / 0.8826 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.006667, allocations: 8 kB / 0.8826 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.006704, allocations: 11.98 kB / 0.8826 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.00675, allocations: 19.62 kB / 0.8826 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006752, allocations: 6.469 kB / 0.8826 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.604e-05/0.006838, allocations: 53.64 kB / 0.8827 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.006854, allocations: 4 kB / 0.8827 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.00686, allocations: 3.984 kB / 0.8827 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.006875, allocations: 4 kB / 0.8827 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.006961, allocations: 4.188 kB / 0.8827 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.006967, allocations: 2.062 kB / 0.8827 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.007006, allocations: 19.92 kB / 0.8827 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.007014, allocations: 3.984 kB / 0.8827 GB, free: 0.7344 MB / 0.7917 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 8.014e-05/0.007094, allocations: 164.5 kB / 0.8828 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.007114, allocations: 8.672 kB / 0.8829 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.007143, allocations: 12.33 kB / 0.8829 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.007146, allocations: 5.594 kB / 0.8829 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.00715, allocations: 4 kB / 0.8829 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007153, allocations: 0 / 0.8829 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.007279, allocations: 144.5 kB / 0.883 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007281, allocations: 1.125 kB / 0.883 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.007315, allocations: 7.984 kB / 0.883 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.007318, allocations: 4 kB / 0.883 GB, free: 348 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007326, allocations: 4 kB / 0.883 GB, free: 344 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007327, allocations: 0 / 0.883 GB, free: 344 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007328, allocations: 0 / 0.883 GB, free: 344 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.007471, allocations: 199.8 kB / 0.8832 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.007485, allocations: 7.953 kB / 0.8832 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.007506, allocations: 0 / 0.8832 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.007557, allocations: 19.98 kB / 0.8832 GB, free: 96 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.007617, allocations: 11.97 kB / 0.8833 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007623, allocations: 7.938 kB / 0.8833 GB, free: 76 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.007686, allocations: 141.2 kB / 0.8834 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007686, allocations: 4 kB / 0.8834 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001609/0.007847, allocations: 11.95 kB / 0.8834 GB, free: 15.92 MB / 0.8073 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.0001228/0.00797, allocations: 95.25 kB / 0.8835 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.008088, allocations: 35.61 kB / 0.8835 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.00809, allocations: 0 / 0.8835 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.008122, allocations: 23.61 kB / 0.8836 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.00835, allocations: 15.94 kB / 0.8836 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.00893, allocations: 198.2 kB / 0.8838 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.008971, allocations: 59.34 kB / 0.8838 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.009005, allocations: 4 kB / 0.8838 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.009046, allocations: 20.48 kB / 0.8838 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of SimCode: time 1.503e-06/0.009048, allocations: 0 / 0.8838 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.003228/0.01228, allocations: 1.102 MB / 0.8849 GB, free: 14.34 MB / 0.8073 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","",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.563976862002164]