Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_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.001031/0.001031, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.008984/0.008984, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 12 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.615, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1602/0.7753, allocations: 157.1 MB / 1.177 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005441/0.7808, allocations: 4.499 MB / 1.181 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.7811, allocations: 7.938 kB / 1.181 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.7815, allocations: 103.3 kB / 1.181 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.7825, allocations: 310.7 kB / 1.181 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.7832, allocations: 247.2 kB / 1.182 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000828/0.784, allocations: 0.7912 MB / 1.182 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.7843, allocations: 173.4 kB / 1.182 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009416/0.7853, allocations: 422.4 kB / 1.183 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.7856, allocations: 195.2 kB / 1.183 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.7856, allocations: 8 kB / 1.183 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.7858, allocations: 67.94 kB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.7859, allocations: 79.72 kB / 1.183 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.786, allocations: 137.1 kB / 1.183 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.7863, allocations: 287 kB / 1.184 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7863, allocations: 0 / 1.184 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7863, allocations: 4 kB / 1.184 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7863, allocations: 0 / 1.184 GB, free: 10.92 MB / 0.9356 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.0007301/0.7871, allocations: 498.5 kB / 1.184 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7871, allocations: 8.031 kB / 1.184 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.7872, allocations: 54.55 kB / 1.184 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.7873, allocations: 31.64 kB / 1.184 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.7876, allocations: 271.4 kB / 1.184 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.7877, allocations: 12 kB / 1.184 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.7877, allocations: 20 kB / 1.184 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.7882, allocations: 273.8 kB / 1.185 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7882, allocations: 3.938 kB / 1.185 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.7882, allocations: 4 kB / 1.185 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7882, allocations: 8 kB / 1.185 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.7886, allocations: 159.8 kB / 1.185 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.7899, allocations: 1.383 MB / 1.186 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.7902, allocations: 191.6 kB / 1.186 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.7903, allocations: 101.1 kB / 1.187 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.7907, allocations: 133.1 kB / 1.187 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7908, allocations: 42.44 kB / 1.187 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.7908, allocations: 0 / 1.187 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000621/0.7914, allocations: 225.6 kB / 1.187 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.7915, allocations: 192 kB / 1.187 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.7918, allocations: 287 kB / 1.187 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.7918, allocations: 29.7 kB / 1.187 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7919, allocations: 151.8 kB / 1.188 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.792, allocations: 31.47 kB / 1.188 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.792, allocations: 21.7 kB / 1.188 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7921, allocations: 334.8 kB / 1.188 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.7923, allocations: 51.97 kB / 1.188 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.7924, allocations: 125.9 kB / 1.188 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.7928, allocations: 166.7 kB / 1.188 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7928, allocations: 4 kB / 1.188 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000389/0.7932, allocations: 201.2 kB / 1.188 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7932, allocations: 8 kB / 1.188 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7932, allocations: 0 / 1.188 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7932, allocations: 4 kB / 1.188 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.7934, allocations: 35.98 kB / 1.188 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7934, allocations: 3.938 kB / 1.188 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.7936, allocations: 32.27 kB / 1.189 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.7936, allocations: 8 kB / 1.189 GB, free: 5.434 MB / 0.9356 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.0001346/0.7937, allocations: 149.8 kB / 1.189 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.7939, allocations: 27.66 kB / 1.189 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.7942, allocations: 150.9 kB / 1.189 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7942, allocations: 4 kB / 1.189 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7943, allocations: 0 / 1.189 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.7943, allocations: 4 kB / 1.189 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.7951, allocations: 0.773 MB / 1.19 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7952, allocations: 4 kB / 1.19 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.7953, allocations: 27.92 kB / 1.19 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7953, allocations: 0 / 1.19 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7953, allocations: 4 kB / 1.19 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7953, allocations: 3.938 kB / 1.19 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7953, allocations: 4 kB / 1.19 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.7959, allocations: 363.5 kB / 1.19 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.796, allocations: 104.8 kB / 1.19 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.796, allocations: 11.92 kB / 1.19 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.7962, allocations: 12 kB / 1.19 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.7962, allocations: 15.98 kB / 1.19 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.7962, allocations: 4 kB / 1.19 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001903/0.7964, allocations: 209.9 kB / 1.19 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7964, allocations: 0 / 1.19 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003386/0.7968, allocations: 59.92 kB / 1.19 GB, free: 3.383 MB / 0.9356 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.000966/0.7977, allocations: 0.9191 MB / 1.191 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.7981, allocations: 135.9 kB / 1.191 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7981, allocations: 0 / 1.191 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.7983, allocations: 64.66 kB / 1.191 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.7991, allocations: 134.3 kB / 1.192 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.8021, allocations: 2.702 MB / 1.194 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.8025, allocations: 0.7557 MB / 1.195 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.8026, allocations: 58.5 kB / 1.195 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.8027, allocations: 67.42 kB / 1.195 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.8027, allocations: 0 / 1.195 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.8198, allocations: 6.355 MB / 1.201 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.82, allocations: 242.8 kB / 1.202 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.71, allocations: 0 / 1.202 GB, free: 7.914 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches