Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.0009821/0.0009821, allocations: 108.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.00102/0.00102, allocations: 220.3 kB / 23.03 MB, free: 2.953 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 2.028/2.028, 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.765, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002234/0.7673, allocations: 1.696 MB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.000709/0.768, allocations: 494.7 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.7681, allocations: 4 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.7681, allocations: 3.938 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.7682, allocations: 19.8 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.7684, allocations: 47.88 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.7685, allocations: 87.7 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.7686, allocations: 30.31 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.7688, allocations: 39.91 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.7689, allocations: 35.84 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.7689, allocations: 15.94 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.7689, allocations: 8 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.7689, allocations: 11.98 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.769, allocations: 35.8 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.7691, allocations: 91.56 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7691, allocations: 0 / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7691, allocations: 0 / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.7691, allocations: 4 kB / 1.355 GB, free: 15.02 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.0004397/0.7696, allocations: 325.9 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7696, allocations: 12.92 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.7696, allocations: 34.75 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.7698, allocations: 28.88 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.77, allocations: 138.3 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.77, allocations: 4.375 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.77, allocations: 8.375 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.7702, allocations: 121.1 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7702, allocations: 0 / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7702, allocations: 8 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7702, allocations: 0 / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.7703, allocations: 43.97 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.7707, allocations: 287.8 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.7708, allocations: 46.56 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.7709, allocations: 24.94 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.7709, allocations: 8 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.7709, allocations: 34.59 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.7709, allocations: 0 / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002532/0.7712, allocations: 101.6 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.7712, allocations: 81.11 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.7713, allocations: 139.1 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7713, allocations: 29.7 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.7714, allocations: 100.1 kB / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.7714, allocations: 15.84 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.7714, allocations: 25.7 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.7715, allocations: 318.8 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.7715, allocations: 19.98 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.7716, allocations: 67.39 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.7717, allocations: 52.89 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7717, allocations: 4 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.7718, allocations: 85.66 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7718, allocations: 8 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7718, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7718, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.7719, allocations: 11.98 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7719, allocations: 0 / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.772, allocations: 19.86 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.772, allocations: 4 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.825e-05/0.772, allocations: 117.8 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.7721, allocations: 11.95 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.7721, allocations: 16.33 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7721, allocations: 0 / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7721, allocations: 0 / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7721, allocations: 7.875 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.7722, allocations: 152.7 kB / 1.357 GB, free: 12.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7722, allocations: 0 / 1.357 GB, free: 12.28 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.7723, allocations: 12.17 kB / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7723, allocations: 0 / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.7723, allocations: 0 / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7723, allocations: 0 / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7723, allocations: 7.984 kB / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.7724, allocations: 179.4 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.7724, allocations: 7.953 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7724, allocations: 7.938 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.7725, allocations: 11.98 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.7725, allocations: 11.92 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.7725, allocations: 3.984 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.7726, allocations: 106.1 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7726, allocations: 4 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001593/0.7728, allocations: 12 kB / 1.358 GB, free: 11.91 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004667/0.7732, allocations: 0.7124 MB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.7734, allocations: 55.89 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7734, allocations: 0 / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.7734, allocations: 23.98 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.7736, allocations: 20.06 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.7747, allocations: 1.453 MB / 1.36 GB, free: 9.535 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.7747, allocations: 79.67 kB / 1.36 GB, free: 9.434 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.7748, allocations: 11.98 kB / 1.36 GB, free: 9.422 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.7748, allocations: 23.42 kB / 1.36 GB, free: 9.402 MB / 1.042 GB Notification: Performance of SimCode: time 9.11e-07/0.7748, allocations: 4 kB / 1.36 GB, free: 9.398 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07927/0.8541, allocations: 2.681 MB / 1.363 GB, free: 6.867 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/7.787, allocations: 10.5 kB / 1.363 GB, free: 6.863 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.839633674360812]