Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001034/0.001034, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001235/0.001235, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8916/0.8916, allocations: 177.2 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.5725/0.5725, allocations: 114 MB / 373.9 MB, free: 8.703 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.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.5542 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.799e-05, allocations: 14.22 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001282/0.0013, allocations: 0.7253 MB / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002504, allocations: 1.19 MB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.002551, allocations: 0 / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.002582, allocations: 3.938 kB / 0.5561 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.002649, allocations: 11.88 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.003116, allocations: 140.8 kB / 0.5562 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003296, allocations: 123.7 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003412, allocations: 24.11 kB / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003523, allocations: 67.88 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.003606, allocations: 35.94 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003632, allocations: 16 kB / 0.5565 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.003708, allocations: 31.92 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.003733, allocations: 15.97 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.003793, allocations: 35.91 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.003976, allocations: 147.6 kB / 0.5567 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003978, allocations: 0 / 0.5567 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.123e-06/0.003979, allocations: 0 / 0.5567 GB, free: 240 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003983, allocations: 0 / 0.5567 GB, free: 240 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004831/0.004467, allocations: 339.8 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.004504, allocations: 8.031 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.004531, allocations: 42.75 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.004605, allocations: 16.88 kB / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.004682, allocations: 121.7 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.004696, allocations: 12.38 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.00472, allocations: 8.375 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.004859, allocations: 70.16 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.004866, allocations: 192 / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.004878, allocations: 8.359 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.004885, allocations: 7.938 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.004987, allocations: 47.95 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.005389, allocations: 295.6 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.005517, allocations: 58.55 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.005571, allocations: 24.97 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.005589, allocations: 0 / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.005759, allocations: 91.36 kB / 0.5578 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.00576, allocations: 0 / 0.5578 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003111/0.006072, allocations: 157.6 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.00611, allocations: 51.41 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.006187, allocations: 125.4 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.006207, allocations: 29.7 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.006262, allocations: 104 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.006279, allocations: 11.91 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.006332, allocations: 45.69 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.006416, allocations: 322.8 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.006521, allocations: 77.66 kB / 0.5587 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.006633, allocations: 122.8 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.0068, allocations: 154.7 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006802, allocations: 0 / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.007071, allocations: 244.8 kB / 0.5592 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.007103, allocations: 33.69 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.007109, allocations: 4 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.00712, allocations: 160 / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.007187, allocations: 23.98 kB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007192, allocations: 0 / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.007294, allocations: 39.86 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.007309, allocations: 11.92 kB / 0.5593 GB, free: 13.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.046e-05/0.00738, allocations: 125.8 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.007389, allocations: 7.953 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.007564, allocations: 130 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007566, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.00757, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007574, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.007845, allocations: 349.9 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.007847, allocations: 0 / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.00788, allocations: 15.98 kB / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.007882, allocations: 0 / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.00789, allocations: 4 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007891, allocations: 4.016 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.007893, allocations: 3.984 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.008064, allocations: 219.3 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.008074, allocations: 7.953 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.008087, allocations: 3.984 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.008127, allocations: 7.938 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.008163, allocations: 11.98 kB / 0.5601 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.008168, allocations: 4 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.008207, allocations: 99.2 kB / 0.5602 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.008207, allocations: 0 / 0.5602 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001814/0.008389, allocations: 23.94 kB / 0.5602 GB, free: 12.23 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000394/0.008783, allocations: 0.7475 MB / 0.561 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.009031, allocations: 205.1 kB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009032, allocations: 0 / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.009094, allocations: 35.97 kB / 0.5612 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.009284, allocations: 11.98 kB / 0.5612 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.01065, allocations: 1.836 MB / 0.563 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.0107, allocations: 71.34 kB / 0.5631 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.01073, allocations: 12.06 kB / 0.5631 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.01077, allocations: 24.48 kB / 0.5631 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.01077, allocations: 0 / 0.5631 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.02679, allocations: 3.346 MB / 0.5664 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/6.548, allocations: 5.875 kB / 0.5664 GB, free: 5.922 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_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_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.159554690122604] Failed to read output from testmodel.py, exit status != 0: 6.626617648638785 6.635235095 6.629666005 Calling exit ...