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.001566/0.001566, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.444/2.444, allocations: 390.3 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6135, allocations: 140.4 MB / 0.9492 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1541/0.7677, allocations: 159.2 MB / 1.105 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.7728, allocations: 4.515 MB / 1.109 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.7732, allocations: 15.88 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.7737, allocations: 111.3 kB / 1.109 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008704/0.7746, allocations: 302.7 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.7753, allocations: 247.1 kB / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000693/0.776, allocations: 0.5689 MB / 1.11 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.7764, allocations: 189.1 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.7774, allocations: 458.3 kB / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.7777, allocations: 199.2 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.7778, allocations: 20 kB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.778, allocations: 75.88 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.7781, allocations: 87.78 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.7782, allocations: 123.4 kB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.7786, allocations: 287.1 kB / 1.112 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7786, allocations: 4 kB / 1.112 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7786, allocations: 7.938 kB / 1.112 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7786, allocations: 0 / 1.112 GB, free: 11.25 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.000797/0.7794, allocations: 0.5178 MB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7795, allocations: 12.03 kB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.7796, allocations: 54.48 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.7796, allocations: 31.66 kB / 1.112 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.78, allocations: 275.4 kB / 1.113 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.78, allocations: 16 kB / 1.113 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.78, allocations: 16 kB / 1.113 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.7804, allocations: 273.6 kB / 1.113 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7805, allocations: 3.938 kB / 1.113 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.7805, allocations: 8 kB / 1.113 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.7805, allocations: 8 kB / 1.113 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.7808, allocations: 151.7 kB / 1.113 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.7821, allocations: 1.36 MB / 1.114 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.7824, allocations: 183.7 kB / 1.114 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7826, allocations: 93.11 kB / 1.115 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.7829, allocations: 125 kB / 1.115 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.783, allocations: 38.5 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.783, allocations: 0 / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.000593/0.7836, allocations: 213.7 kB / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.7836, allocations: 187.9 kB / 1.115 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.7839, allocations: 287 kB / 1.115 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.7839, allocations: 25.7 kB / 1.115 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.784, allocations: 151.8 kB / 1.116 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.7841, allocations: 43.55 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.7841, allocations: 37.61 kB / 1.116 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7843, allocations: 338.8 kB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.7844, allocations: 51.91 kB / 1.116 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.7846, allocations: 116.6 kB / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.7849, allocations: 158.7 kB / 1.116 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7849, allocations: 0 / 1.116 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003603/0.7852, allocations: 193.1 kB / 1.116 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7853, allocations: 4 kB / 1.116 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7853, allocations: 4 kB / 1.116 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7853, allocations: 4 kB / 1.116 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.7854, allocations: 31.92 kB / 1.116 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7854, allocations: 224 / 1.116 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.7856, allocations: 27.83 kB / 1.117 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.7856, allocations: 15.98 kB / 1.117 GB, free: 5.781 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.0001194/0.7858, allocations: 145.7 kB / 1.117 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.7859, allocations: 27.66 kB / 1.117 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.7862, allocations: 131.3 kB / 1.117 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7862, allocations: 8 kB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7862, allocations: 0 / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7862, allocations: 7.984 kB / 1.117 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.787, allocations: 0.7651 MB / 1.118 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.787, allocations: 8.156 kB / 1.118 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.7871, allocations: 19.98 kB / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7872, allocations: 0 / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7872, allocations: 4 kB / 1.118 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.7872, allocations: 11.92 kB / 1.118 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7872, allocations: 0 / 1.118 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.7877, allocations: 339.2 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.7878, allocations: 112.8 kB / 1.118 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.7878, allocations: 4 kB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.788, allocations: 16.05 kB / 1.118 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.788, allocations: 7.938 kB / 1.118 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.788, allocations: 4 kB / 1.118 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001856/0.7882, allocations: 213.9 kB / 1.118 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7882, allocations: 0 / 1.118 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003334/0.7886, allocations: 59.92 kB / 1.118 GB, free: 3.777 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.0009003/0.7895, allocations: 0.9154 MB / 1.119 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.7898, allocations: 119.8 kB / 1.119 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7898, allocations: 4 kB / 1.119 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.79, allocations: 60.59 kB / 1.119 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.7907, allocations: 134.6 kB / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.7936, allocations: 2.661 MB / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.7939, allocations: 0.7519 MB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.7941, allocations: 58.23 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.7942, allocations: 67.42 kB / 1.123 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.7942, allocations: 0 / 1.123 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.109/5.903, allocations: 6.642 MB / 1.129 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/5.903, allocations: 251.8 kB / 1.13 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/8.788, allocations: 0 / 1.13 GB, free: 8.086 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