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.0009251/0.0009251, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008339/0.0008339, 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.9106/0.9106, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5683/0.5683, allocations: 114 MB / 373.9 MB, free: 8.688 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.536e-06/3.536e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.736e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001953/0.001981, allocations: 0.7911 MB / 0.555 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.00328, allocations: 0.9132 MB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.0034, allocations: 7.938 kB / 0.5559 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.003542, allocations: 11.86 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.003588, allocations: 11.88 kB / 0.5559 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.003834, allocations: 31.91 kB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.003955, allocations: 71.72 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.004085, allocations: 23.97 kB / 0.5561 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.004262, allocations: 51.83 kB / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.004339, allocations: 23.91 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.004359, allocations: 8 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.004401, allocations: 8 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.004419, allocations: 15.94 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.004446, allocations: 15.97 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004601, allocations: 87.67 kB / 0.5563 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004604, allocations: 0 / 0.5563 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.442e-06/0.004605, allocations: 0 / 0.5563 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.00461, allocations: 0 / 0.5563 GB, free: 0.6445 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.0005218/0.005132, allocations: 314 kB / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.005178, allocations: 12.62 kB / 0.5566 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.005215, allocations: 34.75 kB / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.00536, allocations: 20.88 kB / 0.5566 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.005601, allocations: 143.7 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005613, allocations: 4.375 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.005624, allocations: 4.375 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.005798, allocations: 62.23 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005807, allocations: 192 / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005818, allocations: 8.375 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005824, allocations: 4.125 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.005917, allocations: 39.84 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.006393, allocations: 279.8 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.00655, allocations: 54.56 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.006596, allocations: 16.92 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.006617, allocations: 4 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.006651, allocations: 34.66 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.006653, allocations: 0 / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000263/0.006916, allocations: 77.61 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.006961, allocations: 51.41 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.007099, allocations: 137.8 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.007118, allocations: 25.7 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.00719, allocations: 100.1 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.007207, allocations: 3.953 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.007253, allocations: 17.72 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.007385, allocations: 330.8 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.007434, allocations: 12 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.007472, allocations: 15.98 kB / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.007551, allocations: 24.84 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.007555, allocations: 0 / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001509/0.007706, allocations: 69.62 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.007726, allocations: 4 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.007733, allocations: 0 / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.007754, allocations: 4 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.007833, allocations: 7.938 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.00784, allocations: 7.938 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.007894, allocations: 11.98 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.007904, allocations: 3.984 kB / 0.5581 GB, free: 14.55 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 9.783e-05/0.008002, allocations: 121.8 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.008027, allocations: 3.953 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.008064, allocations: 12.34 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.008067, allocations: 0 / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.008075, allocations: 8 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008079, allocations: 0 / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.008258, allocations: 148.7 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.00826, allocations: 0 / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.008297, allocations: 3.984 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.008301, allocations: 4 kB / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008309, allocations: 0 / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008313, allocations: 0 / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008314, allocations: 0 / 0.5584 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.008487, allocations: 163.4 kB / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.008502, allocations: 12.25 kB / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.00852, allocations: 4 kB / 0.5586 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.008596, allocations: 11.98 kB / 0.5586 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.00865, allocations: 7.984 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.008658, allocations: 7.984 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.008719, allocations: 101.3 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008719, allocations: 0 / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002388/0.008958, allocations: 11.95 kB / 0.5587 GB, free: 13.87 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.0004769/0.009434, allocations: 0.6967 MB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.009577, allocations: 35.97 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009579, allocations: 0 / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.009611, allocations: 16 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.009833, allocations: 11.98 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01095, allocations: 1.372 MB / 0.5608 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.01101, allocations: 75.33 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01104, allocations: 4 kB / 0.5609 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.0111, allocations: 28.48 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/0.0111, allocations: 0 / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.02703, allocations: 2.719 MB / 0.5636 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.441, allocations: 9.625 kB / 0.5636 GB, free: 8.938 MB / 0.5261 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 10.110134489834309] Failed to read output from testmodel.py, exit status != 0: 7.526164509356022 7.538359764 7.531658245 Calling exit ...