Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007874/0.0007874, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0009108/0.0009108, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.023/2.023, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009446/0.0009446, allocations: 66.41 kB / 1.177 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3489, allocations: 180 MB / 1.352 GB, free: 9.195 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001805/0.3507, allocations: 0.7339 MB / 1.353 GB, free: 8.465 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.352, allocations: 1.182 MB / 1.354 GB, free: 7.27 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.352, allocations: 0 / 1.354 GB, free: 7.27 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.3521, allocations: 7.875 kB / 1.354 GB, free: 7.262 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.894e-05/0.3522, allocations: 15.88 kB / 1.354 GB, free: 7.246 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.3528, allocations: 142.1 kB / 1.354 GB, free: 7.109 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.353, allocations: 127.7 kB / 1.355 GB, free: 6.984 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3531, allocations: 20.17 kB / 1.355 GB, free: 6.961 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3532, allocations: 39.92 kB / 1.355 GB, free: 6.922 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.3533, allocations: 47.8 kB / 1.355 GB, free: 6.875 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3533, allocations: 12 kB / 1.355 GB, free: 6.863 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.3534, allocations: 31.92 kB / 1.355 GB, free: 6.832 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.3535, allocations: 19.92 kB / 1.355 GB, free: 6.812 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.3535, allocations: 35.91 kB / 1.355 GB, free: 6.777 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3537, allocations: 131.8 kB / 1.355 GB, free: 6.648 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3537, allocations: 0 / 1.355 GB, free: 6.648 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3537, allocations: 0 / 1.355 GB, free: 6.648 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3537, allocations: 4 kB / 1.355 GB, free: 6.645 MB / 1.042 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.0004557/0.3542, allocations: 339.7 kB / 1.355 GB, free: 6.277 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3542, allocations: 12.92 kB / 1.355 GB, free: 6.266 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.3542, allocations: 34.75 kB / 1.355 GB, free: 6.223 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.3543, allocations: 20.86 kB / 1.355 GB, free: 6.203 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/0.3544, allocations: 118.4 kB / 1.355 GB, free: 6.062 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3544, allocations: 8.375 kB / 1.355 GB, free: 6.055 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3544, allocations: 12.38 kB / 1.355 GB, free: 6.043 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3546, allocations: 69.97 kB / 1.356 GB, free: 5.969 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3546, allocations: 0 / 1.356 GB, free: 5.969 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3546, allocations: 8 kB / 1.356 GB, free: 5.961 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3546, allocations: 0 / 1.356 GB, free: 5.961 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.3547, allocations: 43.95 kB / 1.356 GB, free: 5.918 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.3551, allocations: 299.8 kB / 1.356 GB, free: 5.582 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3552, allocations: 58.55 kB / 1.356 GB, free: 5.516 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.3553, allocations: 25.06 kB / 1.356 GB, free: 5.488 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3553, allocations: 7.938 kB / 1.356 GB, free: 5.48 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.3555, allocations: 87.31 kB / 1.356 GB, free: 5.383 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3555, allocations: 0 / 1.356 GB, free: 5.383 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002989/0.3558, allocations: 153.6 kB / 1.356 GB, free: 5.227 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3559, allocations: 59.41 kB / 1.356 GB, free: 5.156 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3561, allocations: 129.7 kB / 1.356 GB, free: 5.02 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3561, allocations: 33.64 kB / 1.356 GB, free: 4.98 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.3562, allocations: 100.1 kB / 1.356 GB, free: 4.879 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3562, allocations: 19.84 kB / 1.356 GB, free: 4.859 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.3563, allocations: 41.69 kB / 1.357 GB, free: 4.812 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.3564, allocations: 318.8 kB / 1.357 GB, free: 4.492 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3565, allocations: 85.59 kB / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3566, allocations: 126.1 kB / 1.357 GB, free: 4.258 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3568, allocations: 150.7 kB / 1.357 GB, free: 4.086 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3568, allocations: 0 / 1.357 GB, free: 4.086 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002792/0.357, allocations: 244.8 kB / 1.357 GB, free: 3.828 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.3571, allocations: 37.7 kB / 1.357 GB, free: 3.785 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3571, allocations: 3.984 kB / 1.357 GB, free: 3.781 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3571, allocations: 4 kB / 1.357 GB, free: 3.777 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.3572, allocations: 11.94 kB / 1.357 GB, free: 3.766 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3572, allocations: 7.984 kB / 1.357 GB, free: 3.758 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3573, allocations: 36.08 kB / 1.358 GB, free: 3.723 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3573, allocations: 15.92 kB / 1.358 GB, free: 3.707 MB / 1.042 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.877e-05/0.3574, allocations: 122.4 kB / 1.358 GB, free: 3.578 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.3574, allocations: 0 / 1.358 GB, free: 3.578 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.3576, allocations: 126.2 kB / 1.358 GB, free: 3.445 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3576, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.3579, allocations: 361.5 kB / 1.358 GB, free: 3.039 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3579, allocations: 0 / 1.358 GB, free: 3.039 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.358, allocations: 15.98 kB / 1.358 GB, free: 3.023 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.358, allocations: 0 / 1.358 GB, free: 3.023 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.358, allocations: 0 / 1.358 GB, free: 3.023 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.358, allocations: 7.938 kB / 1.358 GB, free: 3.016 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.358, allocations: 0 / 1.358 GB, free: 3.016 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3582, allocations: 219.4 kB / 1.358 GB, free: 2.785 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.3582, allocations: 0 / 1.358 GB, free: 2.785 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3582, allocations: 3.984 kB / 1.358 GB, free: 2.781 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.3582, allocations: 11.94 kB / 1.358 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3583, allocations: 7.984 kB / 1.358 GB, free: 2.762 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3583, allocations: 4 kB / 1.358 GB, free: 2.758 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.3583, allocations: 99.14 kB / 1.358 GB, free: 2.66 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.3583, allocations: 0 / 1.358 GB, free: 2.66 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000191/0.3585, allocations: 27.95 kB / 1.358 GB, free: 2.633 MB / 1.042 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.0004261/0.3589, allocations: 0.7515 MB / 1.359 GB, free: 1.855 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3592, allocations: 193 kB / 1.359 GB, free: 1.648 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3592, allocations: 0 / 1.359 GB, free: 1.648 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.3593, allocations: 39.91 kB / 1.359 GB, free: 1.609 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3595, allocations: 24.38 kB / 1.359 GB, free: 1.586 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.361, allocations: 1.828 MB / 1.361 GB, free: 15.61 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.3611, allocations: 86.88 kB / 1.361 GB, free: 15.51 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.3611, allocations: 11.77 kB / 1.361 GB, free: 15.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3612, allocations: 23.42 kB / 1.361 GB, free: 15.47 MB / 1.057 GB Notification: Performance of SimCode: time 9.41e-07/0.3612, allocations: 0 / 1.361 GB, free: 15.47 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/0.4471, allocations: 3.215 MB / 1.365 GB, free: 12.42 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.772, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.255243985913694]