Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001314/0.001314, allocations: 80.52 kB / 19.96 MB, free: 4.586 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.001478/0.001478, allocations: 169.2 kB / 23.24 MB, free: 1.309 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.8793/0.8793, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.796/1.796, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.907e-05, allocations: 2.281 kB / 1.001 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001992/0.002011, allocations: 1.547 MB / 1.002 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.002116, allocations: 27.86 kB / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.00216, allocations: 4 kB / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.002265, allocations: 19.81 kB / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.002296, allocations: 11.91 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.002397, allocations: 15.98 kB / 1.002 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.002477, allocations: 47.78 kB / 1.002 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002586, allocations: 23.89 kB / 1.002 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.002631, allocations: 31.89 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.002687, allocations: 23.97 kB / 1.002 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.002703, allocations: 4 kB / 1.002 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.002712, allocations: 4 kB / 1.002 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.002753, allocations: 24.75 kB / 1.002 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.002782, allocations: 15.92 kB / 1.002 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.002877, allocations: 55.81 kB / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002879, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.61e-07/0.00288, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002884, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003092/0.003193, allocations: 290.1 kB / 1.003 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.003229, allocations: 9.344 kB / 1.003 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.003264, allocations: 42.73 kB / 1.003 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.003285, allocations: 8.891 kB / 1.003 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.003409, allocations: 141.5 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003419, allocations: 4.375 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.003428, allocations: 8.375 kB / 1.003 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.003557, allocations: 100.8 kB / 1.003 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.003565, allocations: 192 / 1.003 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003573, allocations: 384 / 1.003 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.00358, allocations: 8.125 kB / 1.003 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.00364, allocations: 39.92 kB / 1.003 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.004066, allocations: 0.5964 MB / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.004134, allocations: 173.1 kB / 1.004 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.004161, allocations: 84.14 kB / 1.004 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.004181, allocations: 75.28 kB / 1.004 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.004212, allocations: 113.8 kB / 1.004 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004213, allocations: 0 / 1.004 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.822e-05/0.004271, allocations: 37.66 kB / 1.004 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.004314, allocations: 130.6 kB / 1.004 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.004452, allocations: 169.1 kB / 1.004 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.00446, allocations: 25.7 kB / 1.004 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.004517, allocations: 108 kB / 1.005 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.00452, allocations: 0 / 1.005 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.004546, allocations: 17.72 kB / 1.005 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.004629, allocations: 322.8 kB / 1.005 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.004641, allocations: 0 / 1.005 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.004663, allocations: 30.52 kB / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.0047, allocations: 26.52 kB / 1.005 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004702, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.868e-05/0.0048, allocations: 57.58 kB / 1.005 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.004815, allocations: 12.09 kB / 1.005 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00482, allocations: 0 / 1.005 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004832, allocations: 0 / 1.005 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.004892, allocations: 8 kB / 1.005 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.004899, allocations: 7.938 kB / 1.005 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.004921, allocations: 3.953 kB / 1.005 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.004925, allocations: 4 kB / 1.005 GB, free: 7.707 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.137e-05/0.005007, allocations: 193.1 kB / 1.005 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.005051, allocations: 112.9 kB / 1.005 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.005088, allocations: 120.7 kB / 1.005 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.005128, allocations: 176.3 kB / 1.006 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-05/0.005173, allocations: 196.2 kB / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/0.00521, allocations: 176.3 kB / 1.006 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.005363, allocations: 396.2 kB / 1.006 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/0.005387, allocations: 101 kB / 1.006 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.00541, allocations: 101.1 kB / 1.007 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/0.005453, allocations: 188.2 kB / 1.007 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.005499, allocations: 188.3 kB / 1.007 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.004e-05/0.005539, allocations: 180.2 kB / 1.007 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.156e-05/0.00558, allocations: 184.2 kB / 1.007 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.005678, allocations: 307.7 kB / 1.008 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.005716, allocations: 116.9 kB / 1.008 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.005768, allocations: 184.2 kB / 1.008 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.005821, allocations: 101 kB / 1.008 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.006001, allocations: 180.2 kB / 1.008 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.006027, allocations: 112.9 kB / 1.008 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.006097, allocations: 127.2 kB / 1.008 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006097, allocations: 0 / 1.008 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001536/0.00625, allocations: 4 kB / 1.008 GB, free: 4.137 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002704/0.006521, allocations: 0.8087 MB / 1.009 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.962e-05/0.00658, allocations: 15.94 kB / 1.009 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006582, allocations: 0 / 1.009 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.006583, allocations: 0 / 1.009 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.006834, allocations: 469.6 kB / 1.01 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.007997, allocations: 1.641 MB / 1.011 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.008053, allocations: 83.27 kB / 1.011 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.00807, allocations: 7.984 kB / 1.011 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.008109, allocations: 24.62 kB / 1.011 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.00811, allocations: 0 / 1.011 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/0.08116, allocations: 2.365 MB / 1.014 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.746, allocations: 4.312 kB / 1.014 GB, free: 14.73 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.075922307558358]