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.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001149/0.001149, allocations: 190 kB / 16.14 MB, free: 6.719 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.277/2.277, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/0.6467, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1719/0.8186, allocations: 159.1 MB / 1.104 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.8242, allocations: 4.563 MB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.8247, allocations: 7.938 kB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.8252, allocations: 99.34 kB / 1.109 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009359/0.8262, allocations: 310.7 kB / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.827, allocations: 255.1 kB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008327/0.8279, allocations: 0.7952 MB / 1.11 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.8283, allocations: 165.5 kB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.8294, allocations: 430.4 kB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.8297, allocations: 195.2 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.8298, allocations: 12 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.83, allocations: 75.83 kB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.8301, allocations: 87.7 kB / 1.111 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.8303, allocations: 111.4 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.8306, allocations: 283.1 kB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8306, allocations: 0 / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8306, allocations: 4 kB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.8307, allocations: 0 / 1.112 GB, free: 11.06 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.0008519/0.8315, allocations: 0.5295 MB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8316, allocations: 11.97 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.8316, allocations: 50.55 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.8317, allocations: 27.66 kB / 1.112 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.8321, allocations: 271.4 kB / 1.112 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.8321, allocations: 20 kB / 1.112 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.8322, allocations: 16 kB / 1.112 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.8326, allocations: 265.6 kB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.8326, allocations: 3.938 kB / 1.113 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.8327, allocations: 12 kB / 1.113 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.8327, allocations: 7.984 kB / 1.113 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.833, allocations: 152.8 kB / 1.113 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.8344, allocations: 1.364 MB / 1.114 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.8347, allocations: 187.7 kB / 1.114 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.8349, allocations: 93.11 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.8353, allocations: 125 kB / 1.115 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.8353, allocations: 46.5 kB / 1.115 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8353, allocations: 0 / 1.115 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006217/0.8359, allocations: 201.1 kB / 1.115 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/0.836, allocations: 196.5 kB / 1.115 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.8363, allocations: 279 kB / 1.115 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.8363, allocations: 33.7 kB / 1.115 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.8364, allocations: 151.8 kB / 1.115 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.8365, allocations: 27.56 kB / 1.116 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.8365, allocations: 41.61 kB / 1.116 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8367, allocations: 334.8 kB / 1.116 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.8368, allocations: 51.91 kB / 1.116 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.837, allocations: 115.6 kB / 1.116 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.8373, allocations: 154.7 kB / 1.116 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8373, allocations: 0 / 1.116 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003691/0.8377, allocations: 193.1 kB / 1.116 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8377, allocations: 8 kB / 1.116 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8377, allocations: 0 / 1.116 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.8377, allocations: 7.938 kB / 1.116 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.8378, allocations: 31.92 kB / 1.116 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8379, allocations: 4.219 kB / 1.116 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.838, allocations: 27.83 kB / 1.116 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.8381, allocations: 11.98 kB / 1.116 GB, free: 5.598 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.0001252/0.8382, allocations: 149.7 kB / 1.117 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8383, allocations: 27.66 kB / 1.117 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.8387, allocations: 135.3 kB / 1.117 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.8387, allocations: 12.03 kB / 1.117 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8387, allocations: 0 / 1.117 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8387, allocations: 7.984 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.8395, allocations: 0.7613 MB / 1.118 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.8395, allocations: 8.156 kB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.8396, allocations: 23.98 kB / 1.118 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.8396, allocations: 7.938 kB / 1.118 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.8396, allocations: 3.984 kB / 1.118 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.8397, allocations: 7.938 kB / 1.118 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8397, allocations: 0 / 1.118 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.8401, allocations: 343.3 kB / 1.118 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.8402, allocations: 108.8 kB / 1.118 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.8403, allocations: 4 kB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.8404, allocations: 12.05 kB / 1.118 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.8405, allocations: 15.94 kB / 1.118 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8405, allocations: 7.984 kB / 1.118 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001758/0.8407, allocations: 209.9 kB / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8407, allocations: 0 / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003245/0.841, allocations: 55.94 kB / 1.118 GB, free: 3.578 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.0009018/0.8419, allocations: 0.9068 MB / 1.119 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.8422, allocations: 115.8 kB / 1.119 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8423, allocations: 0 / 1.119 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.8424, allocations: 64.66 kB / 1.119 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.8431, allocations: 130.8 kB / 1.119 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.846, allocations: 2.659 MB / 1.122 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8463, allocations: 0.7635 MB / 1.123 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.8464, allocations: 50.25 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.8465, allocations: 71.41 kB / 1.123 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of SimCode: time 2.81e-07/0.8465, allocations: 0 / 1.123 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.8651, allocations: 6.473 MB / 1.129 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.8654, allocations: 242.9 kB / 1.129 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.681, allocations: 0 / 1.129 GB, free: 8.051 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