Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001074/0.001074, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001237/0.001237, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9275/0.9275, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5617/0.5617, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.503e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001362/0.001388, allocations: 0.7948 MB / 0.555 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.002309, allocations: 0.9016 MB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.002389, allocations: 7.938 kB / 0.5559 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.002502, allocations: 7.875 kB / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.002533, allocations: 19.84 kB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.002716, allocations: 35.84 kB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.002814, allocations: 79.72 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.002914, allocations: 19.97 kB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003034, allocations: 43.91 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.003091, allocations: 19.91 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.00311, allocations: 8 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.003147, allocations: 12 kB / 0.5562 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.003161, allocations: 11.92 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.003183, allocations: 20 kB / 0.5562 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003307, allocations: 87.64 kB / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.003309, allocations: 0 / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00331, allocations: 0 / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003313, allocations: 0 / 0.5563 GB, free: 0.6406 MB / 0.5105 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.0003896/0.003703, allocations: 318 kB / 0.5566 GB, free: 304 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.003746, allocations: 11.97 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.003775, allocations: 34.75 kB / 0.5566 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.003882, allocations: 24.88 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.004057, allocations: 137.6 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.004067, allocations: 4.375 kB / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.004077, allocations: 8.375 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.004199, allocations: 62.17 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004206, allocations: 4.188 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004215, allocations: 384 / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004221, allocations: 8.062 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.004292, allocations: 39.98 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.004624, allocations: 275.9 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.004725, allocations: 46.5 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.00476, allocations: 21 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.004773, allocations: 0 / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.004791, allocations: 34.56 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004791, allocations: 0 / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.004957, allocations: 77.56 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.004982, allocations: 51.41 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.005056, allocations: 136.2 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005066, allocations: 25.7 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.005113, allocations: 108.1 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.005125, allocations: 3.953 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.005153, allocations: 25.7 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.005223, allocations: 314.8 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.005252, allocations: 15.98 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.00528, allocations: 23.98 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.005326, allocations: 28.84 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005327, allocations: 0 / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.611e-05/0.005404, allocations: 65.58 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005416, allocations: 8 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.005419, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.00543, allocations: 3.984 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.005474, allocations: 4 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005478, allocations: 3.938 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.005512, allocations: 12.31 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.005517, allocations: 4 kB / 0.5581 GB, free: 14.54 MB / 0.5261 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 6.048e-05/0.005578, allocations: 117.8 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.005591, allocations: 3.953 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.005619, allocations: 20.31 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.00562, allocations: 0 / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005624, allocations: 0 / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005627, allocations: 0 / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.005742, allocations: 152.7 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005742, allocations: 0 / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.005759, allocations: 11.94 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.00576, allocations: 0 / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.005766, allocations: 0 / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005767, allocations: 3.938 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.005769, allocations: 3.984 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.005872, allocations: 159.4 kB / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.005883, allocations: 11.92 kB / 0.5586 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.005895, allocations: 0 / 0.5586 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.005944, allocations: 11.98 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.005988, allocations: 15.98 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.005991, allocations: 0 / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.006031, allocations: 97.77 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.006031, allocations: 4 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00015/0.006181, allocations: 11.95 kB / 0.5587 GB, free: 13.86 MB / 0.5261 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.0003435/0.006525, allocations: 0.6967 MB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.00663, allocations: 27.98 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006632, allocations: 4 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.006663, allocations: 23.92 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006848, allocations: 11.72 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.007748, allocations: 1.369 MB / 0.5608 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.007793, allocations: 71.33 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.007822, allocations: 12.31 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.007866, allocations: 24.5 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.007866, allocations: 0 / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02182, allocations: 2.712 MB / 0.5636 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.933, allocations: 16.42 kB / 0.5636 GB, free: 8.934 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.41136117465794] Failed to read output from testmodel.py, exit status != 0: 7.013715241104364 7.022549184 7.017362404 Calling exit ...