Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001017/0.001017, allocations: 76.55 kB / 19.93 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.00086/0.00086, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5423/0.5423, allocations: 114 MB / 373.9 MB, free: 8.707 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.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 3.984 kB / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.999e-05, allocations: 4.672 kB / 0.5543 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001931/0.001951, allocations: 0.985 MB / 0.5552 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003254, allocations: 1.034 MB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.003356, allocations: 0 / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003486, allocations: 23.73 kB / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.00355, allocations: 19.8 kB / 0.5563 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.003845, allocations: 75.72 kB / 0.5564 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.004036, allocations: 184.1 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.004189, allocations: 56.52 kB / 0.5566 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004322, allocations: 103.8 kB / 0.5567 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.004408, allocations: 55.86 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.004438, allocations: 16 kB / 0.5568 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.004487, allocations: 27.88 kB / 0.5568 GB, free: 128 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.004524, allocations: 35.89 kB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.004575, allocations: 51.83 kB / 0.5569 GB, free: 40 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004821, allocations: 199.3 kB / 0.5571 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.004824, allocations: 3.984 kB / 0.5571 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004825, allocations: 0 / 0.5571 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.004829, allocations: 3.938 kB / 0.5571 GB, free: 15.84 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006864/0.005515, allocations: 422.4 kB / 0.5575 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.005555, allocations: 8.031 kB / 0.5575 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.005605, allocations: 54.73 kB / 0.5575 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.005694, allocations: 16.84 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.005954, allocations: 167.5 kB / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.005974, allocations: 12.38 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.006006, allocations: 20.33 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.006308, allocations: 179.7 kB / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.006317, allocations: 4.188 kB / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.006336, allocations: 15.88 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.006343, allocations: 4 kB / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.006577, allocations: 103.9 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.007464, allocations: 475.3 kB / 0.5585 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.007799, allocations: 138.7 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.007945, allocations: 72.81 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.00797, allocations: 4 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.008185, allocations: 156.9 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.008187, allocations: 0 / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0004737/0.008661, allocations: 223.5 kB / 0.559 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.008695, allocations: 51.41 kB / 0.5591 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.00883, allocations: 162.2 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.008856, allocations: 37.69 kB / 0.5593 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.008925, allocations: 116.5 kB / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.008978, allocations: 67.39 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.009042, allocations: 41.7 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.009151, allocations: 330.8 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.009316, allocations: 63.95 kB / 0.5599 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.009489, allocations: 89.53 kB / 0.56 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.009776, allocations: 156.1 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.009779, allocations: 0 / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004057/0.01018, allocations: 213.4 kB / 0.5603 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.0102, allocations: 4 kB / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.0102, allocations: 0 / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01022, allocations: 0 / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01037, allocations: 43.97 kB / 0.5604 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01038, allocations: 0 / 0.5604 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01048, allocations: 31.91 kB / 0.5604 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01049, allocations: 4 kB / 0.5604 GB, free: 12.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001028/0.01059, allocations: 137.7 kB / 0.5605 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.01062, allocations: 15.91 kB / 0.5605 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.01097, allocations: 182.7 kB / 0.5607 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01097, allocations: 0 / 0.5607 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01098, allocations: 4 kB / 0.5607 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01098, allocations: 7.922 kB / 0.5607 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.01168, allocations: 0.5335 MB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.01168, allocations: 4 kB / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.01183, allocations: 39.91 kB / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01183, allocations: 4 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01185, allocations: 8.188 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01185, allocations: 3.938 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01185, allocations: 7.938 kB / 0.5613 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.01236, allocations: 386.6 kB / 0.5617 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01238, allocations: 11.91 kB / 0.5617 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01241, allocations: 11.94 kB / 0.5617 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01253, allocations: 20.03 kB / 0.5617 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.01259, allocations: 27.89 kB / 0.5618 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.0126, allocations: 12 kB / 0.5618 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.436e-05/0.01269, allocations: 122.5 kB / 0.5619 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.01269, allocations: 0 / 0.5619 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002879/0.01297, allocations: 31.94 kB / 0.5619 GB, free: 10.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0007266/0.0137, allocations: 0.9147 MB / 0.5628 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.01405, allocations: 155.8 kB / 0.563 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01405, allocations: 0 / 0.563 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.01421, allocations: 83.83 kB / 0.563 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.01455, allocations: 38.42 kB / 0.5631 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.01702, allocations: 2.116 MB / 0.5651 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.0172, allocations: 108.3 kB / 0.5652 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.665e-05/0.01728, allocations: 25.47 kB / 0.5653 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.01738, allocations: 52.67 kB / 0.5653 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.01738, allocations: 0 / 0.5653 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.03728, allocations: 4.378 MB / 0.5696 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.271, allocations: 4.062 kB / 0.5696 GB, free: 2.645 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.807567093521357] Failed to read output from testmodel.py, exit status != 0: 7.35823520552367 7.370992407 7.363569132 Calling exit ...