Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.0007951/0.0007951, allocations: 100.3 kB / 19.72 MB, free: 428 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.001356/0.001356, allocations: 215.3 kB / 23.03 MB, free: 2.969 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.009/1.009, allocations: 230.6 MB / 256.8 MB, free: 9.609 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 1.982/1.982, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7262, allocations: 180 MB / 1.352 GB, free: 1.707 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003714/0.7299, allocations: 3.756 MB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.7316, allocations: 1.332 MB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.7319, allocations: 27.81 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.7321, allocations: 122.7 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.7324, allocations: 186.4 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.733, allocations: 418.3 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006391/0.7336, allocations: 0.9515 MB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.734, allocations: 300.9 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.7342, allocations: 342.7 kB / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.7345, allocations: 298.4 kB / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.7345, allocations: 88 kB / 1.36 GB, free: 9.883 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.7346, allocations: 92 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.7347, allocations: 179.4 kB / 1.36 GB, free: 9.617 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.7349, allocations: 302.5 kB / 1.361 GB, free: 9.32 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.7355, allocations: 1.082 MB / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7355, allocations: 3.984 kB / 1.362 GB, free: 8.23 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7355, allocations: 3.938 kB / 1.362 GB, free: 8.227 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.7355, allocations: 0 / 1.362 GB, free: 8.227 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001209/0.7367, allocations: 1.064 MB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7368, allocations: 16.92 kB / 1.363 GB, free: 7.102 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.7368, allocations: 106.7 kB / 1.363 GB, free: 6.988 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.7369, allocations: 92.38 kB / 1.363 GB, free: 6.898 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.7376, allocations: 0.4959 MB / 1.363 GB, free: 6.379 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.7376, allocations: 49.69 kB / 1.363 GB, free: 6.332 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.7377, allocations: 64.36 kB / 1.363 GB, free: 6.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.7383, allocations: 0.6617 MB / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.7384, allocations: 0 / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.7384, allocations: 24 kB / 1.364 GB, free: 5.547 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7384, allocations: 12 kB / 1.364 GB, free: 5.535 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.739, allocations: 461 kB / 1.365 GB, free: 5.086 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.7407, allocations: 1.779 MB / 1.366 GB, free: 3.238 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.7413, allocations: 413.5 kB / 1.367 GB, free: 2.824 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.7415, allocations: 230.5 kB / 1.367 GB, free: 2.598 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.7416, allocations: 4.438 kB / 1.367 GB, free: 2.594 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.7419, allocations: 265.3 kB / 1.367 GB, free: 2.324 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 1.834e-06/0.7419, allocations: 0 / 1.367 GB, free: 2.324 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.0007857/0.7427, allocations: 0.5846 MB / 1.368 GB, free: 1.73 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.7427, allocations: 55.84 kB / 1.368 GB, free: 1.664 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.7431, allocations: 458.6 kB / 1.368 GB, free: 1.207 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.7431, allocations: 37.7 kB / 1.368 GB, free: 1.164 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.7433, allocations: 328.8 kB / 1.369 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.7433, allocations: 178.5 kB / 1.369 GB, free: 0.6602 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.7434, allocations: 90.34 kB / 1.369 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7436, allocations: 366.8 kB / 1.369 GB, free: 200 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.7438, allocations: 194.9 kB / 1.369 GB, free: 0 / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.7441, allocations: 276.4 kB / 1.37 GB, free: 15.7 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.7446, allocations: 451 kB / 1.37 GB, free: 15.22 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7446, allocations: 4 kB / 1.37 GB, free: 15.22 MB / 1.057 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006177/0.7452, allocations: 0.598 MB / 1.371 GB, free: 14.61 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7452, allocations: 33.64 kB / 1.371 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7452, allocations: 4.25 kB / 1.371 GB, free: 14.56 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7452, allocations: 8 kB / 1.371 GB, free: 14.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.7455, allocations: 111.9 kB / 1.371 GB, free: 14.45 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.7455, allocations: 11.92 kB / 1.371 GB, free: 14.43 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.7456, allocations: 55.67 kB / 1.371 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.7457, allocations: 16 kB / 1.371 GB, free: 14.36 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 0.0001675/0.7458, allocations: 213.6 kB / 1.371 GB, free: 14.14 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.7459, allocations: 59.61 kB / 1.371 GB, free: 14.09 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.746, allocations: 65.59 kB / 1.371 GB, free: 14.02 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.746, allocations: 7.984 kB / 1.371 GB, free: 14.02 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.746, allocations: 0 / 1.371 GB, free: 14.02 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.746, allocations: 11.92 kB / 1.371 GB, free: 14 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.747, allocations: 1.068 MB / 1.372 GB, free: 12.88 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.747, allocations: 0 / 1.372 GB, free: 12.88 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.7472, allocations: 99.88 kB / 1.372 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7472, allocations: 4 kB / 1.372 GB, free: 12.78 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.7473, allocations: 12 kB / 1.372 GB, free: 12.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.7473, allocations: 4 kB / 1.372 GB, free: 12.77 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7473, allocations: 3.938 kB / 1.372 GB, free: 12.76 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.748, allocations: 0.7612 MB / 1.373 GB, free: 11.98 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.7482, allocations: 95.58 kB / 1.373 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.7482, allocations: 15.98 kB / 1.373 GB, free: 11.87 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.7483, allocations: 23.98 kB / 1.373 GB, free: 11.85 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.7484, allocations: 36.36 kB / 1.373 GB, free: 11.81 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.7484, allocations: 12 kB / 1.373 GB, free: 11.8 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002209/0.7486, allocations: 310.8 kB / 1.374 GB, free: 11.5 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7486, allocations: 0 / 1.374 GB, free: 11.5 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002691/0.7489, allocations: 147.7 kB / 1.374 GB, free: 11.36 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0009917/0.7499, allocations: 1.317 MB / 1.375 GB, free: 10.01 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.7504, allocations: 498.9 kB / 1.376 GB, free: 9.512 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7504, allocations: 0 / 1.376 GB, free: 9.512 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.7507, allocations: 198.4 kB / 1.376 GB, free: 9.316 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.7511, allocations: 155.4 kB / 1.376 GB, free: 9.172 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.7557, allocations: 4.915 MB / 1.381 GB, free: 4.09 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.7559, allocations: 296.6 kB / 1.381 GB, free: 3.777 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.7561, allocations: 60.58 kB / 1.381 GB, free: 3.719 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.7563, allocations: 219.4 kB / 1.381 GB, free: 3.504 MB / 1.057 GB Notification: Performance of SimCode: time 7.82e-07/0.7563, allocations: 4 kB / 1.381 GB, free: 3.5 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08456/0.8409, allocations: 12.42 MB / 1.393 GB, free: 7.367 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.566, allocations: 15.91 kB / 1.393 GB, free: 7.355 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 ../Buildings_13_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.806676621548831]