Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0009502/0.0009502, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008603/0.0008603, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9052/0.9052, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.735/1.735, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.876e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5628/0.5628, allocations: 142.2 MB / 1.089 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.5657, allocations: 4.168 MB / 1.093 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.5659, allocations: 19.28 kB / 1.093 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.5663, allocations: 128.4 kB / 1.094 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.5668, allocations: 347.8 kB / 1.094 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.5674, allocations: 313.2 kB / 1.094 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.5679, allocations: 0.5656 MB / 1.095 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.5681, allocations: 150.7 kB / 1.095 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.5688, allocations: 0.5372 MB / 1.095 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.569, allocations: 176.2 kB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.569, allocations: 19.58 kB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.5691, allocations: 73.62 kB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.5692, allocations: 93.66 kB / 1.096 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.5693, allocations: 85.23 kB / 1.096 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.5695, allocations: 313.8 kB / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5695, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5695, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.5696, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005945/0.5702, allocations: 479.8 kB / 1.097 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5702, allocations: 10.28 kB / 1.097 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.5702, allocations: 50.5 kB / 1.097 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.5703, allocations: 36.19 kB / 1.097 GB, free: 38.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5705, allocations: 231.6 kB / 1.097 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5705, allocations: 12.69 kB / 1.097 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.5706, allocations: 18.89 kB / 1.097 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.5708, allocations: 263 kB / 1.097 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5708, allocations: 7.938 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5708, allocations: 6.688 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5708, allocations: 5.406 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.571, allocations: 152.2 kB / 1.097 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.5717, allocations: 1.29 MB / 1.099 GB, free: 36.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.5719, allocations: 180.3 kB / 1.099 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.572, allocations: 92.53 kB / 1.099 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.5722, allocations: 40.92 kB / 1.099 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.5722, allocations: 43.97 kB / 1.099 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.5722, allocations: 0 / 1.099 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.000347/0.5725, allocations: 207.7 kB / 1.099 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.5726, allocations: 182.5 kB / 1.099 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5728, allocations: 294.5 kB / 1.1 GB, free: 35.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5728, allocations: 33.08 kB / 1.1 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.5728, allocations: 151.7 kB / 1.1 GB, free: 35.53 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.5729, allocations: 37.36 kB / 1.1 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.5729, allocations: 38.33 kB / 1.1 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.5729, allocations: 335.6 kB / 1.1 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.573, allocations: 46.56 kB / 1.1 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.5731, allocations: 219.7 kB / 1.1 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.5732, allocations: 163.9 kB / 1.101 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5732, allocations: 0 / 1.101 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001823/0.5734, allocations: 189.2 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5734, allocations: 7.375 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5734, allocations: 2.719 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5735, allocations: 9.875 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.5735, allocations: 25.06 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5735, allocations: 2.781 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.5736, allocations: 29.98 kB / 1.101 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.5736, allocations: 8.094 kB / 1.101 GB, free: 34.71 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.872e-05/0.5737, allocations: 152.3 kB / 1.101 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.5738, allocations: 25.67 kB / 1.101 GB, free: 34.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.5739, allocations: 132.9 kB / 1.101 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.5739, allocations: 11.94 kB / 1.101 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.574, allocations: 6.719 kB / 1.101 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.574, allocations: 2.906 kB / 1.101 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.5744, allocations: 0.721 MB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5744, allocations: 6.906 kB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.5745, allocations: 22.41 kB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5745, allocations: 2.203 kB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.5745, allocations: 14.06 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5745, allocations: 0.75 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5745, allocations: 2.125 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5748, allocations: 335.4 kB / 1.102 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.5749, allocations: 40.58 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5749, allocations: 2.609 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.575, allocations: 10.88 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.575, allocations: 9.641 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.575, allocations: 12.25 kB / 1.102 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001876/0.5752, allocations: 210.6 kB / 1.103 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5752, allocations: 0.5938 kB / 1.103 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002696/0.5755, allocations: 58.84 kB / 1.103 GB, free: 33.41 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0006638/0.5761, allocations: 0.8918 MB / 1.103 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.5764, allocations: 114.1 kB / 1.104 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5764, allocations: 0.75 kB / 1.104 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.5765, allocations: 65.47 kB / 1.104 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.577, allocations: 128.3 kB / 1.104 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5791, allocations: 2.591 MB / 1.106 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.5792, allocations: 145.3 kB / 1.106 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.5794, allocations: 52.67 kB / 1.106 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.5794, allocations: 72.73 kB / 1.107 GB, free: 30.62 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.5794, allocations: 0 / 1.107 GB, free: 30.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.6012, allocations: 7.948 MB / 1.114 GB, free: 29.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.736, allocations: 14.42 kB / 1.114 GB, free: 29.22 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.849522448144853]