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.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.001373/0.001373, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 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.001622/0.001622, allocations: 213.4 kB / 23.79 MB, free: 4.703 MB / 14.72 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.528/1.528, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 1.013/1.013, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.1 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.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 62.34 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2191, allocations: 89.18 MB / 0.7291 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00271/0.2219, allocations: 0.6542 MB / 0.7297 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2238, allocations: 1.112 MB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.2239, allocations: 0 / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.224, allocations: 3.938 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.224, allocations: 11.88 kB / 0.7308 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.2245, allocations: 43.83 kB / 0.7309 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.2246, allocations: 55.91 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2247, allocations: 7.984 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2248, allocations: 27.86 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.225, allocations: 23.91 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.225, allocations: 4 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.2251, allocations: 27.92 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.2251, allocations: 7.984 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.2252, allocations: 23.86 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2254, allocations: 68 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2254, allocations: 0 / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2254, allocations: 4 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2254, allocations: 0 / 0.7311 GB, free: 15.21 MB / 0.5606 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.0008951/0.2263, allocations: 294.2 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2263, allocations: 8.031 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.35e-05/0.2263, allocations: 192 / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.2264, allocations: 38.75 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2265, allocations: 4.891 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2266, allocations: 122.4 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2267, allocations: 4.375 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2267, allocations: 384 / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.227, allocations: 77.94 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.227, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.227, allocations: 4 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.227, allocations: 0 / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.2272, allocations: 39.95 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.2278, allocations: 259.8 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2279, allocations: 54.55 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2281, allocations: 32.95 kB / 0.732 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2281, allocations: 0 / 0.732 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.2284, allocations: 79.38 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2284, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004912/0.2289, allocations: 125.5 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.2289, allocations: 51.41 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2291, allocations: 109.8 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.2291, allocations: 29.7 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.2293, allocations: 84.14 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.2293, allocations: 23.86 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.2293, allocations: 25.7 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.2296, allocations: 318.8 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2297, allocations: 28.22 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.23, allocations: 68.2 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2302, allocations: 100.3 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2302, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003109/0.2305, allocations: 117.5 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2305, allocations: 4 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2305, allocations: 0 / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2306, allocations: 4 kB / 0.7331 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2307, allocations: 19.92 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2307, allocations: 4.125 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.2308, allocations: 15.94 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.2308, allocations: 0 / 0.7332 GB, free: 12.88 MB / 0.5606 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 0.0001203/0.2309, allocations: 124.3 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.2309, allocations: 0 / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.2312, allocations: 106 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2312, allocations: 4 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2312, allocations: 4 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2312, allocations: 0 / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.2318, allocations: 341.4 kB / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2318, allocations: 0 / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.2318, allocations: 8 kB / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2318, allocations: 0 / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2319, allocations: 7.984 kB / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2319, allocations: 4 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2319, allocations: 3.938 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.2322, allocations: 187.6 kB / 0.7339 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.2322, allocations: 15.86 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.2322, allocations: 4 kB / 0.734 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.2323, allocations: 7.984 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.2324, allocations: 11.94 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.2324, allocations: 7.938 kB / 0.734 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.2324, allocations: 83.27 kB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2324, allocations: 0 / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002571/0.2327, allocations: 16 kB / 0.7341 GB, free: 11.89 MB / 0.5606 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.000782/0.2335, allocations: 0.7325 MB / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2338, allocations: 71.88 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2338, allocations: 0 / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2339, allocations: 31.92 kB / 0.7349 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2342, allocations: 26.83 kB / 0.7349 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.2363, allocations: 1.434 MB / 0.7363 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2367, allocations: 0.6846 MB / 0.737 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.2368, allocations: 4 kB / 0.737 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.2368, allocations: 15.44 kB / 0.737 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2368, allocations: 0 / 0.737 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.2611, allocations: 1.967 MB / 0.7389 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.36, allocations: 12.44 kB / 0.7389 GB, free: 6.91 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.243414327967912] Failed to read output from testmodel.py, exit status != 0: 11.5236117420136 11.551134337 11.320578736 Calling exit ...