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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 280 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.001219/0.001219, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.15/2.15, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.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 3.256e-06/3.256e-06, allocations: 0 / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.345e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001658/0.001692, allocations: 0.8385 MB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002758, allocations: 0.9235 MB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.002878, allocations: 7.938 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.003018, allocations: 13.94 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.003062, allocations: 20.41 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.003286, allocations: 35.84 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.0034, allocations: 67.78 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003526, allocations: 27.91 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.003676, allocations: 46.28 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.003745, allocations: 27.89 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.003768, allocations: 8 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.003811, allocations: 4 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.003826, allocations: 11.94 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.003854, allocations: 19.92 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00399, allocations: 53.92 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.003995, allocations: 7.922 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003996, allocations: 0 / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.004002, allocations: 0 / 0.8803 GB, free: 4.137 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.0004279/0.004429, allocations: 408.3 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.004476, allocations: 12.75 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.004618, allocations: 16.88 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.004869, allocations: 148.2 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004881, allocations: 4.375 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004896, allocations: 5.594 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005033, allocations: 70.88 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.00504, allocations: 192 / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.00505, allocations: 4.375 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.005059, allocations: 384 / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.005102, allocations: 15.92 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.005484, allocations: 299.6 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.005586, allocations: 43.05 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.005611, allocations: 19.62 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005626, allocations: 0 / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005648, allocations: 33.39 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.005649, allocations: 4 kB / 0.8813 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.005822, allocations: 57.77 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.005854, allocations: 55.39 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.00595, allocations: 189.9 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.005966, allocations: 25.7 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.006024, allocations: 150.8 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.006041, allocations: 7.953 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.006072, allocations: 23.38 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006182, allocations: 0.4884 MB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.006203, allocations: 4 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.006219, allocations: 4 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.006262, allocations: 23.95 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006264, allocations: 7.938 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.407e-05/0.006338, allocations: 57.56 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.006354, allocations: 10.34 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.00636, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.006374, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.006441, allocations: 4 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.006447, allocations: 4 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.006475, allocations: 7.984 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.006482, allocations: 0 / 0.8824 GB, free: 1.762 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 7.385e-05/0.006556, allocations: 160.6 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.006576, allocations: 15.89 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.006604, allocations: 4.344 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006606, allocations: 0 / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00661, allocations: 0 / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006612, allocations: 4 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.006724, allocations: 136.5 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006726, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.006748, allocations: 4 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.006752, allocations: 7.922 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.00676, allocations: 0 / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006762, allocations: 8 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006763, allocations: 3.938 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006882, allocations: 191.9 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.006895, allocations: 11.89 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.006915, allocations: 0 / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.006957, allocations: 7.984 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.00701, allocations: 11.98 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007015, allocations: 0 / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.007073, allocations: 139.2 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007073, allocations: 0 / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001562/0.007229, allocations: 19.88 kB / 0.8831 GB, free: 0.9805 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.0001238/0.007353, allocations: 99.23 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.00746, allocations: 23.67 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.007464, allocations: 4 kB / 0.8832 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.007486, allocations: 11.69 kB / 0.8832 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.007719, allocations: 8 kB / 0.8833 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.008261, allocations: 181.9 kB / 0.8834 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.008298, allocations: 55.36 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.008327, allocations: 8.266 kB / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.008365, allocations: 16.5 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of SimCode: time 1.142e-06/0.008366, allocations: 0 / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of Templates: time 0.003098/0.01146, allocations: 0.9841 MB / 0.8845 GB, free: 15.54 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] 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","",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.595383664127439]