Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_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.004586/0.00459, allocations: 101.8 kB / 15.73 MB, free: 6.02 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.001337/0.001336, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.419/2.419, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 71.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6228, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1559/0.7788, allocations: 161.4 MB / 1.378 GB, free: 44 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004742/0.7835, allocations: 4.559 MB / 1.382 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.7837, allocations: 7.938 kB / 1.382 GB, free: 11.47 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.784, allocations: 127.1 kB / 1.382 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.7847, allocations: 326.4 kB / 1.383 GB, free: 11.02 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.7853, allocations: 281.7 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.7859, allocations: 0.5535 MB / 1.383 GB, free: 10.19 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.7862, allocations: 213.1 kB / 1.384 GB, free: 9.98 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.7869, allocations: 450.3 kB / 1.384 GB, free: 9.539 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.7872, allocations: 191.2 kB / 1.384 GB, free: 9.352 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.7872, allocations: 16 kB / 1.384 GB, free: 9.336 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.7874, allocations: 87.91 kB / 1.384 GB, free: 9.25 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.7875, allocations: 87.73 kB / 1.384 GB, free: 9.164 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.7876, allocations: 123.4 kB / 1.385 GB, free: 9.043 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.788, allocations: 294.7 kB / 1.385 GB, free: 8.758 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.788, allocations: 0 / 1.385 GB, free: 8.758 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.002e-06/0.788, allocations: 4 kB / 1.385 GB, free: 8.754 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.788, allocations: 0 / 1.385 GB, free: 8.754 MB / 1.107 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.000716/0.7887, allocations: 0.5292 MB / 1.385 GB, free: 8.176 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.7888, allocations: 15.97 kB / 1.385 GB, free: 8.16 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.7888, allocations: 50.55 kB / 1.385 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.7889, allocations: 39.75 kB / 1.385 GB, free: 8.062 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.7892, allocations: 287.4 kB / 1.386 GB, free: 7.742 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7892, allocations: 12 kB / 1.386 GB, free: 7.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.7893, allocations: 20 kB / 1.386 GB, free: 7.711 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.7897, allocations: 257.9 kB / 1.386 GB, free: 7.422 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7897, allocations: 7.938 kB / 1.386 GB, free: 7.414 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.7897, allocations: 8 kB / 1.386 GB, free: 7.406 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.7897, allocations: 7.984 kB / 1.386 GB, free: 7.398 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.7901, allocations: 147.8 kB / 1.386 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.7913, allocations: 1.372 MB / 1.388 GB, free: 5.793 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.7916, allocations: 191.7 kB / 1.388 GB, free: 5.551 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.7917, allocations: 93.11 kB / 1.388 GB, free: 5.441 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.7921, allocations: 121 kB / 1.388 GB, free: 5.305 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7921, allocations: 42.44 kB / 1.388 GB, free: 5.254 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.7921, allocations: 4 kB / 1.388 GB, free: 5.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0005456/0.7927, allocations: 205.7 kB / 1.388 GB, free: 5.043 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.7928, allocations: 179.9 kB / 1.388 GB, free: 4.824 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.793, allocations: 291 kB / 1.389 GB, free: 4.535 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.7931, allocations: 25.7 kB / 1.389 GB, free: 4.504 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.7932, allocations: 155.8 kB / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.7932, allocations: 47.69 kB / 1.389 GB, free: 4.301 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.7933, allocations: 37.86 kB / 1.389 GB, free: 4.258 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7934, allocations: 338.8 kB / 1.389 GB, free: 3.918 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.7935, allocations: 39.97 kB / 1.389 GB, free: 3.879 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.7937, allocations: 115.6 kB / 1.389 GB, free: 3.738 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.794, allocations: 163 kB / 1.389 GB, free: 3.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.794, allocations: 0 / 1.389 GB, free: 3.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003534/0.7944, allocations: 193.2 kB / 1.39 GB, free: 3.359 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7944, allocations: 11.98 kB / 1.39 GB, free: 3.348 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7944, allocations: 224 / 1.39 GB, free: 3.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.7944, allocations: 8 kB / 1.39 GB, free: 3.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.7945, allocations: 31.92 kB / 1.39 GB, free: 3.309 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7946, allocations: 3.938 kB / 1.39 GB, free: 3.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.7947, allocations: 27.88 kB / 1.39 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.7947, allocations: 8 kB / 1.39 GB, free: 3.27 MB / 1.107 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.0001196/0.7949, allocations: 149.7 kB / 1.39 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.795, allocations: 35.73 kB / 1.39 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.7953, allocations: 127.1 kB / 1.39 GB, free: 2.945 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7953, allocations: 7.984 kB / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7953, allocations: 0 / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7953, allocations: 0 / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.7961, allocations: 0.773 MB / 1.391 GB, free: 2.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7961, allocations: 0 / 1.391 GB, free: 2.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.7962, allocations: 23.98 kB / 1.391 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7962, allocations: 0 / 1.391 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.7962, allocations: 8 kB / 1.391 GB, free: 2.059 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7963, allocations: 4.125 kB / 1.391 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7963, allocations: 7.938 kB / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.7968, allocations: 335.6 kB / 1.391 GB, free: 1.688 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.7969, allocations: 112.9 kB / 1.391 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.7969, allocations: 12.06 kB / 1.391 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.797, allocations: 7.984 kB / 1.391 GB, free: 1.539 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.7971, allocations: 15.92 kB / 1.391 GB, free: 1.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.7971, allocations: 4 kB / 1.391 GB, free: 1.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001877/0.7973, allocations: 210 kB / 1.392 GB, free: 1.312 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7973, allocations: 3.938 kB / 1.392 GB, free: 1.309 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002891/0.7976, allocations: 51.94 kB / 1.392 GB, free: 1.258 MB / 1.107 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.0009104/0.7985, allocations: 0.9127 MB / 1.392 GB, free: 320 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.7988, allocations: 120.2 kB / 1.393 GB, free: 200 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7988, allocations: 4.125 kB / 1.393 GB, free: 196 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7989, allocations: 59.89 kB / 1.393 GB, free: 136 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.7996, allocations: 134 kB / 1.393 GB, free: 4 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.8025, allocations: 2.617 MB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.8028, allocations: 0.7595 MB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.8029, allocations: 58.23 kB / 1.396 GB, free: 12.39 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.803, allocations: 67.41 kB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of SimCode: time 2.11e-07/0.803, allocations: 0 / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.075/1.878, allocations: 6.864 MB / 1.403 GB, free: 5.625 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/15.3, allocations: 1.156 kB / 1.403 GB, free: 5.625 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches