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.001869/0.001869, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002428/0.002428, allocations: 198.2 kB / 16.14 MB, free: 6.574 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.579/2.579, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6463, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1669/0.8132, allocations: 159.1 MB / 1.172 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.8181, allocations: 4.558 MB / 1.177 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.8184, allocations: 7.938 kB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.8189, allocations: 103.3 kB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.8196, allocations: 310.7 kB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.8202, allocations: 245.3 kB / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000709/0.8209, allocations: 0.799 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.8212, allocations: 169.5 kB / 1.178 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008343/0.8221, allocations: 418.4 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.8223, allocations: 203.2 kB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.8224, allocations: 19.94 kB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.8225, allocations: 67.95 kB / 1.179 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.8226, allocations: 83.78 kB / 1.179 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.8228, allocations: 115.4 kB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.8231, allocations: 283.1 kB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8231, allocations: 0 / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8231, allocations: 0 / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8231, allocations: 3.938 kB / 1.179 GB, free: 11.73 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.0007676/0.8239, allocations: 0.5295 MB / 1.18 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8239, allocations: 8.031 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.824, allocations: 54.55 kB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.824, allocations: 27.66 kB / 1.18 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.8244, allocations: 279.3 kB / 1.18 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.8244, allocations: 16 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.8245, allocations: 16 kB / 1.18 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.8249, allocations: 261.8 kB / 1.18 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8249, allocations: 7.938 kB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.8249, allocations: 8 kB / 1.18 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.8249, allocations: 8 kB / 1.18 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.8253, allocations: 147.8 kB / 1.181 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.8265, allocations: 1.371 MB / 1.182 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.8268, allocations: 179.7 kB / 1.182 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.8269, allocations: 97.05 kB / 1.182 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.8273, allocations: 117 kB / 1.182 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.8273, allocations: 50.42 kB / 1.182 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.8273, allocations: 0 / 1.182 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005935/0.8279, allocations: 205.3 kB / 1.183 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8281, allocations: 191.9 kB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.8284, allocations: 287 kB / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.8284, allocations: 30.23 kB / 1.183 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.8285, allocations: 151.8 kB / 1.183 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.8286, allocations: 39.52 kB / 1.183 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.8286, allocations: 37.72 kB / 1.183 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8288, allocations: 330.8 kB / 1.184 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.8289, allocations: 51.89 kB / 1.184 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.8291, allocations: 115.7 kB / 1.184 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.8294, allocations: 154.7 kB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8294, allocations: 0 / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003725/0.8298, allocations: 197.6 kB / 1.184 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8298, allocations: 4 kB / 1.184 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8298, allocations: 8 kB / 1.184 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8299, allocations: 0 / 1.184 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.83, allocations: 31.97 kB / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.83, allocations: 7.938 kB / 1.184 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.8302, allocations: 27.83 kB / 1.184 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8302, allocations: 4 kB / 1.184 GB, free: 6.281 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.0001453/0.8304, allocations: 153.8 kB / 1.184 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.8305, allocations: 27.66 kB / 1.184 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.8308, allocations: 146.7 kB / 1.184 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8308, allocations: 0 / 1.184 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8308, allocations: 4 kB / 1.184 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8309, allocations: 0 / 1.184 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.8317, allocations: 0.7613 MB / 1.185 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8317, allocations: 3.984 kB / 1.185 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.8319, allocations: 31.92 kB / 1.185 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8319, allocations: 0 / 1.185 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8319, allocations: 4 kB / 1.185 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8319, allocations: 160 / 1.185 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8319, allocations: 8 kB / 1.185 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.8325, allocations: 347.2 kB / 1.186 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.8326, allocations: 112.8 kB / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.8326, allocations: 0 / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.8327, allocations: 11.98 kB / 1.186 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.8328, allocations: 19.92 kB / 1.186 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.8328, allocations: 8 kB / 1.186 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001927/0.833, allocations: 214 kB / 1.186 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.833, allocations: 0 / 1.186 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003282/0.8333, allocations: 51.94 kB / 1.186 GB, free: 4.258 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.0009424/0.8343, allocations: 0.8978 MB / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.8346, allocations: 123.9 kB / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8347, allocations: 0 / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.8348, allocations: 63.83 kB / 1.187 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.8356, allocations: 129.6 kB / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.8386, allocations: 2.648 MB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.8389, allocations: 0.7595 MB / 1.19 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.8391, allocations: 66.47 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.8392, allocations: 63.42 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8392, allocations: 0 / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.8558, allocations: 6.468 MB / 1.197 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8561, allocations: 241.4 kB / 1.197 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.813, allocations: 3.938 kB / 1.197 GB, free: 8.738 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