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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 197 kB / 16.54 MB, free: 6.672 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5684, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1647/0.7331, allocations: 161.4 MB / 1.175 GB, free: 496 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.7387, allocations: 4.556 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.7392, allocations: 7.938 kB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.7396, allocations: 127.1 kB / 1.18 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007676/0.7404, allocations: 326.4 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.7411, allocations: 274.3 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.7417, allocations: 0.5611 MB / 1.181 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.7421, allocations: 213 kB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.7429, allocations: 454.3 kB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.7432, allocations: 187.3 kB / 1.181 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.7433, allocations: 20 kB / 1.182 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.7434, allocations: 79.88 kB / 1.182 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.7435, allocations: 79.73 kB / 1.182 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.7437, allocations: 123.4 kB / 1.182 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.744, allocations: 291.1 kB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7441, allocations: 4 kB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7441, allocations: 0 / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7441, allocations: 0 / 1.182 GB, free: 9.203 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.0007824/0.7449, allocations: 0.5347 MB / 1.183 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.7449, allocations: 8.031 kB / 1.183 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.745, allocations: 50.55 kB / 1.183 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.745, allocations: 31.66 kB / 1.183 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.7454, allocations: 275.4 kB / 1.183 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.7454, allocations: 12 kB / 1.183 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.7455, allocations: 16 kB / 1.183 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.7459, allocations: 265.7 kB / 1.183 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.7459, allocations: 3.938 kB / 1.183 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.7459, allocations: 8 kB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7459, allocations: 11.88 kB / 1.183 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.7463, allocations: 151.8 kB / 1.183 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.7477, allocations: 1.367 MB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.748, allocations: 195.7 kB / 1.185 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.7482, allocations: 85.11 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/0.7486, allocations: 125 kB / 1.185 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.7487, allocations: 42.48 kB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.7487, allocations: 0 / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0008353/0.7495, allocations: 213.1 kB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.7496, allocations: 183.9 kB / 1.186 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.7499, allocations: 287.6 kB / 1.186 GB, free: 5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.75, allocations: 29.7 kB / 1.186 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.7501, allocations: 151.8 kB / 1.186 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.7501, allocations: 39.61 kB / 1.186 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.7502, allocations: 41.55 kB / 1.186 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7503, allocations: 330.8 kB / 1.186 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7505, allocations: 51.89 kB / 1.186 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.7507, allocations: 113.5 kB / 1.187 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.751, allocations: 162.7 kB / 1.187 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.751, allocations: 256 / 1.187 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004026/0.7514, allocations: 193.2 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7514, allocations: 9.562 kB / 1.187 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.7514, allocations: 0 / 1.187 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7514, allocations: 7.984 kB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.7516, allocations: 31.92 kB / 1.187 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.7516, allocations: 7.984 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.7518, allocations: 19.83 kB / 1.187 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.7518, allocations: 12 kB / 1.187 GB, free: 3.742 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.0001295/0.7519, allocations: 145.9 kB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.7521, allocations: 27.66 kB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.7524, allocations: 134.9 kB / 1.187 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7524, allocations: 4 kB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7524, allocations: 0 / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.7524, allocations: 4 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.7532, allocations: 0.7729 MB / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7532, allocations: 4 kB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.7534, allocations: 23.92 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7534, allocations: 4 kB / 1.188 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7534, allocations: 0 / 1.188 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.7534, allocations: 12.09 kB / 1.188 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7534, allocations: 0 / 1.188 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.754, allocations: 343.3 kB / 1.188 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.7541, allocations: 108.8 kB / 1.188 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.7541, allocations: 8.219 kB / 1.188 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7542, allocations: 15.92 kB / 1.189 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.7543, allocations: 11.92 kB / 1.189 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.7543, allocations: 4 kB / 1.189 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001983/0.7545, allocations: 214 kB / 1.189 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7545, allocations: 0 / 1.189 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003379/0.7549, allocations: 59.94 kB / 1.189 GB, free: 1.727 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.0009967/0.7559, allocations: 0.9024 MB / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.7562, allocations: 127.9 kB / 1.19 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7562, allocations: 0 / 1.19 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.7564, allocations: 67.83 kB / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.7571, allocations: 126.9 kB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.7604, allocations: 2.604 MB / 1.193 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.7608, allocations: 0.7518 MB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.7609, allocations: 58.19 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.761, allocations: 75.34 kB / 1.193 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of SimCode: time 3.9e-07/0.761, allocations: 0 / 1.193 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/0.8118, allocations: 6.793 MB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/8.204, allocations: 9.328 kB / 1.2 GB, free: 6.148 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