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.001173/0.001173, 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.0009006/0.0009006, 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.8962/0.8962, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5746/0.5746, allocations: 114 MB / 373.9 MB, free: 8.715 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.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 3.647e-06/3.647e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.941e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.0021/0.00213, allocations: 0.6504 MB / 0.5548 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.003639, allocations: 1.088 MB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.00369, allocations: 8 kB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.003723, allocations: 3.938 kB / 0.5559 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.003797, allocations: 3.938 kB / 0.5559 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.004158, allocations: 47.77 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004273, allocations: 55.83 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004379, allocations: 4 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.004477, allocations: 27.97 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.004533, allocations: 23.84 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004552, allocations: 4 kB / 0.556 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.796e-05/0.00463, allocations: 23.98 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.004654, allocations: 11.98 kB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.00469, allocations: 11.94 kB / 0.5561 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004862, allocations: 71.81 kB / 0.5562 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004865, allocations: 0 / 0.5562 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/0.004867, allocations: 3.938 kB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.004873, allocations: 0 / 0.5562 GB, free: 0.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005574/0.00543, allocations: 298.1 kB / 0.5564 GB, free: 436 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.005479, allocations: 8.625 kB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.005522, allocations: 34.75 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.005617, allocations: 12.89 kB / 0.5565 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.005718, allocations: 117.7 kB / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.005733, allocations: 4.375 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.005746, allocations: 384 / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.00596, allocations: 66.17 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005971, allocations: 4.172 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.005982, allocations: 384 / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.005989, allocations: 8.125 kB / 0.5567 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.006149, allocations: 39.97 kB / 0.5567 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.006649, allocations: 247.9 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.006829, allocations: 58.48 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.006911, allocations: 24.97 kB / 0.557 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.006938, allocations: 3.938 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.007152, allocations: 79.38 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.007154, allocations: 0 / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003977/0.007552, allocations: 125.6 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.007604, allocations: 59.41 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.007698, allocations: 101.8 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.007715, allocations: 29.7 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.00776, allocations: 84.09 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.007787, allocations: 27.89 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.007836, allocations: 25.72 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.007932, allocations: 314.8 kB / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.008019, allocations: 31.98 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.008114, allocations: 56.27 kB / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.008297, allocations: 88.19 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0083, allocations: 4 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002518/0.008552, allocations: 125.4 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.00857, allocations: 4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.008577, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.008593, allocations: 7.984 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.008692, allocations: 24.09 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.008698, allocations: 0 / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.008738, allocations: 24.05 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.008747, allocations: 4 kB / 0.5582 GB, free: 14.42 MB / 0.5261 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 6.566e-05/0.008812, allocations: 113.8 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.008825, allocations: 7.891 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.009007, allocations: 114.3 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009009, allocations: 0 / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.009014, allocations: 0 / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.009018, allocations: 0 / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.00933, allocations: 333.6 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.009333, allocations: 256 / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.009368, allocations: 15.98 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.009371, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.009379, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00938, allocations: 3.938 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009381, allocations: 0 / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.00954, allocations: 203.4 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.009548, allocations: 7.938 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.00956, allocations: 0 / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.009615, allocations: 11.98 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.009651, allocations: 4 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.009666, allocations: 7.984 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.009695, allocations: 79.28 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009695, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001653/0.00986, allocations: 16 kB / 0.5591 GB, free: 13.44 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: 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.00056/0.01042, allocations: 0.7435 MB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.01058, allocations: 67.89 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01058, allocations: 0 / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.01064, allocations: 27.97 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01084, allocations: 12 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01194, allocations: 1.43 MB / 0.5613 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.012, allocations: 67.34 kB / 0.5614 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.01204, allocations: 4 kB / 0.5614 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.01207, allocations: 20.58 kB / 0.5614 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.123e-06/0.01207, allocations: 7.938 kB / 0.5614 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.03062, allocations: 2.51 MB / 0.5639 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/6.579, allocations: 5.922 kB / 0.5639 GB, free: 8.559 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.262018934823573] Failed to read output from testmodel.py, exit status != 0: 6.664011027663946 6.679338628 6.672233601 Calling exit ...