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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001127/0.001127, allocations: 98.19 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.01014/0.01014, allocations: 168.8 kB / 16.26 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.441/1.441, 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 9.1.2-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005037, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7236, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1616/0.8853, allocations: 157 MB / 1.109 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005172/0.8905, allocations: 4.496 MB / 1.113 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.8908, allocations: 7.938 kB / 1.113 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.8912, allocations: 99.3 kB / 1.113 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008046/0.892, allocations: 318.7 kB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.8927, allocations: 247 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.8935, allocations: 0.7874 MB / 1.114 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.8939, allocations: 169.5 kB / 1.115 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.8948, allocations: 422.4 kB / 1.115 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.8951, allocations: 195.2 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.8951, allocations: 12 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.8953, allocations: 67.94 kB / 1.115 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.8954, allocations: 75.8 kB / 1.115 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.8956, allocations: 149 kB / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.8959, allocations: 279 kB / 1.116 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.8959, allocations: 0 / 1.116 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8959, allocations: 0 / 1.116 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8959, allocations: 3.938 kB / 1.116 GB, free: 10.45 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.000682/0.8966, allocations: 494.4 kB / 1.116 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8966, allocations: 16.03 kB / 1.116 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.8967, allocations: 50.55 kB / 1.116 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.8968, allocations: 31.66 kB / 1.116 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.8971, allocations: 275.4 kB / 1.116 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.8971, allocations: 16 kB / 1.116 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.8972, allocations: 20 kB / 1.117 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.8976, allocations: 277.6 kB / 1.117 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8976, allocations: 7.875 kB / 1.117 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.8976, allocations: 8 kB / 1.117 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.8976, allocations: 4 kB / 1.117 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.898, allocations: 163.8 kB / 1.117 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.8992, allocations: 1.364 MB / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.8995, allocations: 187.7 kB / 1.118 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.8997, allocations: 101 kB / 1.119 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.9001, allocations: 133 kB / 1.119 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.9001, allocations: 42.5 kB / 1.119 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.9001, allocations: 4 kB / 1.119 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006113/0.9007, allocations: 221.8 kB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.9008, allocations: 183.9 kB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.9011, allocations: 290.9 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.9011, allocations: 29.64 kB / 1.119 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.9012, allocations: 147.9 kB / 1.12 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.9013, allocations: 39.52 kB / 1.12 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.9013, allocations: 25.64 kB / 1.12 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9014, allocations: 338.8 kB / 1.12 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.9015, allocations: 47.97 kB / 1.12 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.9017, allocations: 123.6 kB / 1.12 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.902, allocations: 170.7 kB / 1.12 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9021, allocations: 0 / 1.12 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003921/0.9025, allocations: 205.1 kB / 1.12 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9025, allocations: 7.984 kB / 1.12 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9025, allocations: 4 kB / 1.12 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.9025, allocations: 0 / 1.12 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.9027, allocations: 36.2 kB / 1.121 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.9027, allocations: 7.938 kB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.9028, allocations: 23.83 kB / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.9029, allocations: 12 kB / 1.121 GB, free: 4.941 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.0001202/0.903, allocations: 149.7 kB / 1.121 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.9031, allocations: 31.69 kB / 1.121 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.9035, allocations: 143.3 kB / 1.121 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9035, allocations: 7.938 kB / 1.121 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9035, allocations: 4 kB / 1.121 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9035, allocations: 0 / 1.121 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.9043, allocations: 0.7768 MB / 1.122 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9043, allocations: 0 / 1.122 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.9044, allocations: 27.92 kB / 1.122 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.9044, allocations: 4 kB / 1.122 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9045, allocations: 4.156 kB / 1.122 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.9045, allocations: 4 kB / 1.122 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9045, allocations: 0 / 1.122 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.905, allocations: 359.3 kB / 1.122 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.9051, allocations: 108.8 kB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.9051, allocations: 3.984 kB / 1.122 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.9053, allocations: 20.06 kB / 1.122 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.9053, allocations: 15.86 kB / 1.122 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.9053, allocations: 4 kB / 1.122 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001885/0.9055, allocations: 209.9 kB / 1.122 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9055, allocations: 3.938 kB / 1.122 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003311/0.9059, allocations: 55.94 kB / 1.122 GB, free: 2.891 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.0009415/0.9068, allocations: 0.9254 MB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.9072, allocations: 127.9 kB / 1.123 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.9072, allocations: 4 kB / 1.123 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.9074, allocations: 68.52 kB / 1.124 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.9082, allocations: 124.8 kB / 1.124 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.9112, allocations: 2.706 MB / 1.126 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.9115, allocations: 0.7635 MB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.9117, allocations: 42.27 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.9118, allocations: 79.41 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.9118, allocations: 3.938 kB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/2.276, allocations: 6.361 MB / 1.133 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/2.276, allocations: 245.2 kB / 1.134 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/4.453, allocations: 4.062 kB / 1.134 GB, free: 7.41 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