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.0007818/0.0007818, 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.00116/0.00116, allocations: 173.6 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.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.823/1.823, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.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 1.352e-06/1.352e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.264e-05, allocations: 10.22 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001822/0.001834, allocations: 1.684 MB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006081/0.002442, allocations: 490.8 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.0025, allocations: 15.81 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.002526, allocations: 11.92 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.002592, allocations: 15.8 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.002795, allocations: 43.89 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.002908, allocations: 91.62 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.003, allocations: 16.23 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.003124, allocations: 59.81 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.003178, allocations: 27.91 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.003195, allocations: 8 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.003231, allocations: 12 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.003248, allocations: 23.91 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003275, allocations: 23.92 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003396, allocations: 87.69 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.003401, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003402, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003405, allocations: 3.984 kB / 1.003 GB, free: 10.89 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003657/0.003771, allocations: 314 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.003806, allocations: 9.344 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.003838, allocations: 42.75 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.003963, allocations: 32.81 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.004119, allocations: 137.5 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.004128, allocations: 8.375 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004137, allocations: 4.375 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004287, allocations: 117.6 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.004293, allocations: 192 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004303, allocations: 4.125 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.004307, allocations: 4 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.592e-05/0.004403, allocations: 51.91 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.00472, allocations: 279.9 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.004811, allocations: 50.58 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.004857, allocations: 28.88 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.004869, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004888, allocations: 38.56 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.004889, allocations: 0 / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002084/0.005097, allocations: 105.5 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.005129, allocations: 81.11 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.005203, allocations: 129.8 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.005217, allocations: 33.7 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.005258, allocations: 104 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.005273, allocations: 7.906 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.005301, allocations: 17.72 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.005373, allocations: 330.8 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.005418, allocations: 19.98 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.005471, allocations: 63.41 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.005549, allocations: 52.95 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.00555, allocations: 0 / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.005661, allocations: 93.55 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005673, allocations: 12.03 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005677, allocations: 3.984 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.005687, allocations: 0 / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.005747, allocations: 8 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005751, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.005787, allocations: 11.98 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.005793, allocations: 3.984 kB / 1.005 GB, free: 8.504 MB / 0.9636 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 5.854e-05/0.005852, allocations: 117.8 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.005867, allocations: 7.953 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.005889, allocations: 16.53 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005891, allocations: 3.984 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.005895, allocations: 0 / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005897, allocations: 0 / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.006011, allocations: 160.6 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006012, allocations: 0 / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.006039, allocations: 8 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.00604, allocations: 0 / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.006047, allocations: 3.984 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006049, allocations: 3.938 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006049, allocations: 3.938 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006175, allocations: 183.4 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.006186, allocations: 11.95 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.0062, allocations: 4 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.006251, allocations: 11.98 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.006292, allocations: 8.047 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006297, allocations: 4 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.006339, allocations: 109.4 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006339, allocations: 0 / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001501/0.006489, allocations: 15.94 kB / 1.006 GB, free: 7.77 MB / 0.9636 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.0002815/0.006771, allocations: 0.724 MB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.006893, allocations: 47.97 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006895, allocations: 0 / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.00694, allocations: 31.91 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.007112, allocations: 8 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.008189, allocations: 1.455 MB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.008242, allocations: 79.75 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.008272, allocations: 0 / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.008318, allocations: 32.67 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.008318, allocations: 0 / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07336/0.08168, allocations: 2.835 MB / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.045, allocations: 4.641 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.521102279424667]