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.007118/0.007118, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001638/0.001638, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.796/2.796, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7634/1.056, allocations: 161.4 MB / 1.324 GB, free: 7.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006267/1.062, allocations: 4.537 MB / 1.328 GB, free: 4.594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/1.063, allocations: 10.88 kB / 1.328 GB, free: 4.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004932/1.063, allocations: 133.5 kB / 1.328 GB, free: 4.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009251/1.064, allocations: 330.7 kB / 1.329 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/1.065, allocations: 277.1 kB / 1.329 GB, free: 4.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008378/1.066, allocations: 0.5574 MB / 1.329 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/1.066, allocations: 201.5 kB / 1.33 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/1.068, allocations: 459.2 kB / 1.33 GB, free: 3.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/1.068, allocations: 186 kB / 1.33 GB, free: 3.582 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/1.068, allocations: 20 kB / 1.33 GB, free: 3.578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/1.068, allocations: 81.11 kB / 1.33 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/1.068, allocations: 90.95 kB / 1.33 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/1.069, allocations: 126 kB / 1.331 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004957/1.069, allocations: 294 kB / 1.331 GB, free: 3.344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.069, allocations: 0 / 1.331 GB, free: 3.344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/1.069, allocations: 1.562 kB / 1.331 GB, free: 3.344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.069, allocations: 0.6562 kB / 1.331 GB, free: 3.344 MB / 1.014 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.0009257/1.07, allocations: 0.5456 MB / 1.331 GB, free: 2.859 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.07, allocations: 13.53 kB / 1.331 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.696e-05/1.07, allocations: 52.02 kB / 1.331 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/1.07, allocations: 34.84 kB / 1.331 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/1.071, allocations: 281.8 kB / 1.332 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/1.071, allocations: 15.47 kB / 1.332 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/1.071, allocations: 20.75 kB / 1.332 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/1.071, allocations: 263.7 kB / 1.332 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.071, allocations: 9.359 kB / 1.332 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/1.071, allocations: 10.28 kB / 1.332 GB, free: 2.336 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.071, allocations: 6.141 kB / 1.332 GB, free: 2.336 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/1.072, allocations: 147.5 kB / 1.332 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.073, allocations: 1.37 MB / 1.334 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/1.073, allocations: 182.6 kB / 1.334 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/1.074, allocations: 94.8 kB / 1.334 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/1.074, allocations: 120 kB / 1.334 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/1.074, allocations: 43.53 kB / 1.334 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 3.426e-06/1.074, allocations: 0 / 1.334 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006016/1.075, allocations: 206.1 kB / 1.334 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.075, allocations: 188 kB / 1.334 GB, free: 392 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/1.075, allocations: 289.2 kB / 1.335 GB, free: 236 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.075, allocations: 26.73 kB / 1.335 GB, free: 204 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.075, allocations: 156.6 kB / 1.335 GB, free: 64 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.075, allocations: 40.69 kB / 1.335 GB, free: 32 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/1.075, allocations: 34.52 kB / 1.335 GB, free: 8 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.075, allocations: 334.9 kB / 1.335 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.076, allocations: 46.48 kB / 1.335 GB, free: 15.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/1.076, allocations: 114.6 kB / 1.335 GB, free: 15.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/1.076, allocations: 161.9 kB / 1.335 GB, free: 15.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.076, allocations: 3.469 kB / 1.335 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003764/1.077, allocations: 187.5 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.077, allocations: 16.56 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.077, allocations: 1.469 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.077, allocations: 2.531 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.077, allocations: 32.38 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.077, allocations: 8.859 kB / 1.336 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/1.077, allocations: 28.7 kB / 1.336 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/1.077, allocations: 11.28 kB / 1.336 GB, free: 15.35 MB / 1.029 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.0001431/1.077, allocations: 149.1 kB / 1.336 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.077, allocations: 27.64 kB / 1.336 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/1.078, allocations: 131.7 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.078, allocations: 3 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.078, allocations: 2.281 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.078, allocations: 1.219 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/1.079, allocations: 0.7716 MB / 1.337 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.079, allocations: 1.438 kB / 1.337 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.079, allocations: 26.09 kB / 1.337 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.079, allocations: 2.625 kB / 1.337 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.079, allocations: 5.781 kB / 1.337 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.079, allocations: 3.922 kB / 1.337 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.079, allocations: 5.969 kB / 1.337 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/1.079, allocations: 335.7 kB / 1.337 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.08, allocations: 117.7 kB / 1.337 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/1.08, allocations: 7.609 kB / 1.337 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.08, allocations: 7.031 kB / 1.337 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/1.08, allocations: 19.14 kB / 1.337 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.08, allocations: 4.375 kB / 1.337 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002461/1.08, allocations: 210.8 kB / 1.338 GB, free: 13.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 4.062 kB / 1.338 GB, free: 13.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003994/1.08, allocations: 53.97 kB / 1.338 GB, free: 13.91 MB / 1.029 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.001191/1.082, allocations: 0.9018 MB / 1.338 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003787/1.082, allocations: 130.6 kB / 1.339 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.082, allocations: 1.312 kB / 1.339 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/1.082, allocations: 66.48 kB / 1.339 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/1.083, allocations: 131.3 kB / 1.339 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/1.086, allocations: 2.619 MB / 1.341 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/1.087, allocations: 0.7616 MB / 1.342 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000189/1.087, allocations: 49.91 kB / 1.342 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.087, allocations: 64.91 kB / 1.342 GB, free: 10.44 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/1.087, allocations: 0 / 1.342 GB, free: 10.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.117, allocations: 6.87 MB / 1.349 GB, free: 9.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/9.625, allocations: 13 kB / 1.349 GB, free: 9.664 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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