Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.09 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5116, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1395/0.6512, allocations: 161.4 MB / 1.107 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004535/0.6558, allocations: 4.548 MB / 1.112 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.6561, allocations: 11.94 kB / 1.112 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.6564, allocations: 127 kB / 1.112 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.6572, allocations: 330.5 kB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.6578, allocations: 274.9 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.6584, allocations: 0.5573 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.6587, allocations: 209.1 kB / 1.113 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.6594, allocations: 450.2 kB / 1.114 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.6597, allocations: 195.2 kB / 1.114 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.6597, allocations: 16 kB / 1.114 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.6599, allocations: 87.86 kB / 1.114 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.66, allocations: 83.78 kB / 1.114 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.6601, allocations: 115.4 kB / 1.114 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.6604, allocations: 295 kB / 1.114 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6604, allocations: 3.938 kB / 1.114 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6604, allocations: 0 / 1.114 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6604, allocations: 0 / 1.114 GB, free: 8.621 MB / 0.8731 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.0006791/0.6611, allocations: 0.5334 MB / 1.115 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6612, allocations: 8.031 kB / 1.115 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.6612, allocations: 54.55 kB / 1.115 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.6613, allocations: 27.66 kB / 1.115 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.6616, allocations: 271.4 kB / 1.115 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6616, allocations: 12 kB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.6616, allocations: 20 kB / 1.115 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.662, allocations: 261.8 kB / 1.116 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.662, allocations: 3.938 kB / 1.116 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.662, allocations: 8 kB / 1.116 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.662, allocations: 4 kB / 1.116 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.6624, allocations: 151.8 kB / 1.116 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6634, allocations: 1.375 MB / 1.117 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.6637, allocations: 191.7 kB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.6639, allocations: 101.1 kB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/0.6642, allocations: 109.1 kB / 1.117 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.6642, allocations: 50.42 kB / 1.117 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6642, allocations: 4 kB / 1.117 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0005373/0.6648, allocations: 197.2 kB / 1.118 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.6648, allocations: 187.9 kB / 1.118 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.6651, allocations: 291.6 kB / 1.118 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6651, allocations: 29.7 kB / 1.118 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.6652, allocations: 155.7 kB / 1.118 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6652, allocations: 31.55 kB / 1.118 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.6653, allocations: 45.55 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.6654, allocations: 330.8 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.6655, allocations: 43.95 kB / 1.119 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.6657, allocations: 115.7 kB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.6659, allocations: 158.7 kB / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6659, allocations: 0 / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003396/0.6663, allocations: 197.2 kB / 1.119 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6663, allocations: 5.875 kB / 1.119 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6663, allocations: 7.984 kB / 1.119 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.6663, allocations: 3.938 kB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6665, allocations: 31.92 kB / 1.119 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6665, allocations: 4 kB / 1.119 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.6666, allocations: 27.83 kB / 1.119 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.6667, allocations: 4 kB / 1.119 GB, free: 3.16 MB / 0.8731 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 0.0001076/0.6668, allocations: 153.9 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6669, allocations: 31.64 kB / 1.119 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.6672, allocations: 131.2 kB / 1.12 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6672, allocations: 4 kB / 1.12 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6672, allocations: 4 kB / 1.12 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6672, allocations: 0 / 1.12 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.6679, allocations: 0.773 MB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6679, allocations: 0 / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.668, allocations: 23.92 kB / 1.12 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.668, allocations: 4 kB / 1.12 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6681, allocations: 12.16 kB / 1.12 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6681, allocations: 0 / 1.12 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6681, allocations: 0 / 1.12 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.6685, allocations: 343.2 kB / 1.121 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.6686, allocations: 112.8 kB / 1.121 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.6686, allocations: 4 kB / 1.121 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6688, allocations: 7.984 kB / 1.121 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.6688, allocations: 19.92 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6688, allocations: 7.938 kB / 1.121 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001609/0.669, allocations: 210 kB / 1.121 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.669, allocations: 4 kB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002976/0.6693, allocations: 51.94 kB / 1.121 GB, free: 1.145 MB / 0.8731 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.0008027/0.6701, allocations: 0.9098 MB / 1.122 GB, free: 204 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.6704, allocations: 127.8 kB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6704, allocations: 0 / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6706, allocations: 59.89 kB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.6712, allocations: 136.8 kB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.6738, allocations: 2.606 MB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.6741, allocations: 0.7558 MB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.6742, allocations: 46.27 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.6743, allocations: 71.41 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.6743, allocations: 4 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/2.161, allocations: 6.795 MB / 1.132 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/15.49, allocations: 11.75 kB / 1.132 GB, free: 5.562 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches