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.000924/0.000924, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001006/0.001006, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9155/0.9155, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.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.843/1.843, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.193e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003556/0.003578, allocations: 3.757 MB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.005326, allocations: 1.332 MB / 1.006 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.005615, allocations: 31.75 kB / 1.006 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.005875, allocations: 130.7 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.006114, allocations: 190.2 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.006854, allocations: 418.9 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000661/0.007516, allocations: 0.9824 MB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.007857, allocations: 294.6 kB / 1.008 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.008229, allocations: 0.4989 MB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.008434, allocations: 247.2 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.008505, allocations: 88 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.008573, allocations: 92 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.008664, allocations: 179.4 kB / 1.009 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.008821, allocations: 247.4 kB / 1.009 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.009481, allocations: 1.083 MB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.009485, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.009487, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.009496, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 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.001186/0.01068, allocations: 1.08 MB / 1.011 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01072, allocations: 9.344 kB / 1.011 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.06e-05/0.0108, allocations: 106.6 kB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.01089, allocations: 84.42 kB / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.01152, allocations: 0.4992 MB / 1.012 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.01155, allocations: 41.69 kB / 1.012 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.01161, allocations: 56.38 kB / 1.012 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.01229, allocations: 0.6622 MB / 1.012 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01231, allocations: 192 / 1.012 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.01234, allocations: 24.12 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01235, allocations: 16 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.01294, allocations: 461 kB / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01479, allocations: 1.776 MB / 1.015 GB, free: 15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.01536, allocations: 417.7 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.01563, allocations: 226.3 kB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.01566, allocations: 12.44 kB / 1.015 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003559/0.01602, allocations: 258.2 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 2.685e-06/0.01602, allocations: 0 / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.0008017/0.01682, allocations: 0.591 MB / 1.016 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.01686, allocations: 59.91 kB / 1.016 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.01719, allocations: 449.9 kB / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.01722, allocations: 33.7 kB / 1.017 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.01738, allocations: 328.8 kB / 1.017 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.01746, allocations: 170.5 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.01755, allocations: 94.33 kB / 1.017 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.01765, allocations: 366.7 kB / 1.018 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.01789, allocations: 198.9 kB / 1.018 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.01815, allocations: 284.3 kB / 1.018 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.01864, allocations: 459.2 kB / 1.018 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01864, allocations: 0 / 1.018 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006336/0.01927, allocations: 0.5864 MB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.01931, allocations: 41.69 kB / 1.019 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01932, allocations: 0 / 1.019 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.01934, allocations: 7.938 kB / 1.019 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.01961, allocations: 111.9 kB / 1.019 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.01962, allocations: 7.938 kB / 1.019 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.01979, allocations: 59.61 kB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.01981, allocations: 20.14 kB / 1.019 GB, free: 10.12 MB / 0.9792 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.0001811/0.01999, allocations: 216.3 kB / 1.019 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.02003, allocations: 55.62 kB / 1.019 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.02011, allocations: 65.58 kB / 1.02 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.02012, allocations: 11.94 kB / 1.02 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.02013, allocations: 0 / 1.02 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.02013, allocations: 0 / 1.02 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.02125, allocations: 1.074 MB / 1.021 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.02126, allocations: 3.938 kB / 1.021 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.02151, allocations: 99.81 kB / 1.021 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.02152, allocations: 4 kB / 1.021 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.02154, allocations: 8 kB / 1.021 GB, free: 8.531 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.02155, allocations: 4 kB / 1.021 GB, free: 8.527 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.02155, allocations: 3.938 kB / 1.021 GB, free: 8.523 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.0225, allocations: 0.7631 MB / 1.021 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.02264, allocations: 103.5 kB / 1.022 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.02268, allocations: 8 kB / 1.022 GB, free: 7.637 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.02282, allocations: 19.98 kB / 1.022 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.02292, allocations: 40.42 kB / 1.022 GB, free: 7.578 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.02294, allocations: 12 kB / 1.022 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002575/0.0232, allocations: 314.9 kB / 1.022 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.0232, allocations: 4 kB / 1.022 GB, free: 7.258 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003834/0.02358, allocations: 139.6 kB / 1.022 GB, free: 7.121 MB / 0.9792 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.001134/0.02472, allocations: 1.316 MB / 1.023 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.02547, allocations: 495.3 kB / 1.024 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02547, allocations: 0 / 1.024 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.02573, allocations: 202.8 kB / 1.024 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.02629, allocations: 157.1 kB / 1.024 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.03216, allocations: 4.841 MB / 1.029 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.03237, allocations: 288.7 kB / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.03263, allocations: 68.58 kB / 1.029 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.03286, allocations: 220.4 kB / 1.029 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of SimCode: time 1.472e-06/0.03286, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08995/0.1228, allocations: 12.55 MB / 1.042 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.066, allocations: 6.438 kB / 1.042 GB, free: 3.082 MB / 0.9948 GB " [Timeout remaining time 293] (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.31563188508153]