Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 107.8 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 189.2 kB / 20.02 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.054/1.054, allocations: 147.6 MB / 445.6 MB, free: 8.246 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3082/0.3082, allocations: 60.33 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.4557, allocations: 83.16 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001849/0.4576, allocations: 0.6552 MB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.459, allocations: 1.056 MB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.4591, allocations: 5.438 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.4591, allocations: 3.938 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.4592, allocations: 5.625 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.4595, allocations: 50.03 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4596, allocations: 48.83 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.4597, allocations: 11.7 kB / 0.6939 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.4598, allocations: 23.48 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.4599, allocations: 23.84 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4599, allocations: 7.656 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.4599, allocations: 18.02 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.46, allocations: 14.64 kB / 0.694 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.46, allocations: 17.16 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4602, allocations: 63.02 kB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4602, allocations: 0 / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4602, allocations: 0 / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.4602, allocations: 0 / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005747/0.4608, allocations: 372.8 kB / 0.6944 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4608, allocations: 9.688 kB / 0.6944 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.4609, allocations: 32.09 kB / 0.6944 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4609, allocations: 14.81 kB / 0.6945 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.461, allocations: 166.5 kB / 0.6946 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.461, allocations: 2.031 kB / 0.6946 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4611, allocations: 7.188 kB / 0.6946 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.4613, allocations: 65.19 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4613, allocations: 3.938 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4613, allocations: 5.219 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4613, allocations: 1.469 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4615, allocations: 42.58 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.4619, allocations: 288.4 kB / 0.695 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4621, allocations: 57.92 kB / 0.6951 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4622, allocations: 31.28 kB / 0.6951 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4622, allocations: 1.938 kB / 0.6951 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.4625, allocations: 76.47 kB / 0.6952 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4625, allocations: 0 / 0.6952 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004159/0.4629, allocations: 126.5 kB / 0.6953 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.463, allocations: 53.06 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4631, allocations: 109.1 kB / 0.6954 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4631, allocations: 27.64 kB / 0.6955 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.4632, allocations: 92.08 kB / 0.6956 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4632, allocations: 19.69 kB / 0.6956 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4632, allocations: 24.53 kB / 0.6956 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4634, allocations: 328.1 kB / 0.6959 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4635, allocations: 27.09 kB / 0.6959 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.4636, allocations: 58.09 kB / 0.696 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4639, allocations: 94.56 kB / 0.6961 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4639, allocations: 0 / 0.6961 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002743/0.4641, allocations: 117.6 kB / 0.6962 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4642, allocations: 11 kB / 0.6962 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4642, allocations: 1.375 kB / 0.6962 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4642, allocations: 1.375 kB / 0.6962 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4643, allocations: 20.36 kB / 0.6962 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4643, allocations: 9.422 kB / 0.6962 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.4644, allocations: 5.5 kB / 0.6962 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.4644, allocations: 2.75 kB / 0.6962 GB, free: 9.719 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.781e-05/0.4645, allocations: 124.9 kB / 0.6964 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.4645, allocations: 13.31 kB / 0.6964 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.4648, allocations: 103.5 kB / 0.6965 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4648, allocations: 1.375 kB / 0.6965 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4649, allocations: 3.938 kB / 0.6965 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4649, allocations: 1.375 kB / 0.6965 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.4653, allocations: 362.6 kB / 0.6968 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4654, allocations: 4 kB / 0.6968 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.4654, allocations: 16.23 kB / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4654, allocations: 0 / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4654, allocations: 1.375 kB / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4655, allocations: 0 / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4655, allocations: 1.375 kB / 0.6968 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.4658, allocations: 206 kB / 0.697 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.4658, allocations: 79.7 kB / 0.6971 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4658, allocations: 1.344 kB / 0.6971 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.4659, allocations: 8.016 kB / 0.6971 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.466, allocations: 10.64 kB / 0.6971 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.466, allocations: 3.969 kB / 0.6971 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.4661, allocations: 91.16 kB / 0.6972 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4661, allocations: 0 / 0.6972 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002426/0.4663, allocations: 15.53 kB / 0.6972 GB, free: 8.762 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006356/0.467, allocations: 0.7387 MB / 0.698 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.4672, allocations: 73.2 kB / 0.698 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4673, allocations: 0 / 0.698 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4674, allocations: 36.34 kB / 0.6981 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.4676, allocations: 11.75 kB / 0.6981 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4693, allocations: 1.416 MB / 0.6995 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4696, allocations: 0.6851 MB / 0.7001 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.4697, allocations: 7.672 kB / 0.7001 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.4697, allocations: 14.5 kB / 0.7002 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4697, allocations: 1.375 kB / 0.7002 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.4921, allocations: 1.813 MB / 0.7019 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.196, allocations: 7.984 kB / 0.7019 GB, free: 4.52 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.826204553013667] Failed to read output from testmodel.py, exit status != 0: 9.263797537889332 9.287266345 8.822457367 Calling exit ...