Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.008483/0.008483, allocations: 101 kB / 15.73 MB, free: 6.043 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.001881/0.001881, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.657/2.657, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3338, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9603/1.294, allocations: 167.5 MB / 1.33 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00878/1.303, allocations: 6.55 MB / 1.336 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/1.304, allocations: 12.09 kB / 1.336 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/1.304, allocations: 175.7 kB / 1.336 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/1.307, allocations: 0.8782 MB / 1.337 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/1.308, allocations: 327.1 kB / 1.338 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001213/1.31, allocations: 0.7207 MB / 1.338 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/1.31, allocations: 278.4 kB / 1.338 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/1.312, allocations: 0.5675 MB / 1.339 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/1.313, allocations: 271.7 kB / 1.339 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-05/1.313, allocations: 23.25 kB / 1.339 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/1.314, allocations: 342.9 kB / 1.34 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/1.314, allocations: 109.5 kB / 1.34 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/1.314, allocations: 158.7 kB / 1.34 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009891/1.315, allocations: 474.5 kB / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.315, allocations: 0 / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/1.315, allocations: 5.156 kB / 1.34 GB, free: 12.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.716e-05/1.315, allocations: 0 / 1.34 GB, free: 12.72 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001197/1.316, allocations: 0.6158 MB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.317, allocations: 9.031 kB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.281e-05/1.317, allocations: 63.5 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/1.317, allocations: 60.14 kB / 1.341 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.318, allocations: 324.5 kB / 1.341 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.318, allocations: 18.69 kB / 1.341 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/1.318, allocations: 26 kB / 1.341 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/1.318, allocations: 322.7 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.319, allocations: 0 / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/1.319, allocations: 18.47 kB / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/1.319, allocations: 7.781 kB / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/1.319, allocations: 195.5 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/1.321, allocations: 1.535 MB / 1.343 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/1.321, allocations: 122.2 kB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.321, allocations: 98.48 kB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.322, allocations: 310.2 kB / 1.344 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.322, allocations: 35.88 kB / 1.344 GB, free: 9.852 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.322, allocations: 0 / 1.344 GB, free: 9.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007869/1.323, allocations: 266.9 kB / 1.344 GB, free: 9.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.323, allocations: 53.03 kB / 1.344 GB, free: 9.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/1.323, allocations: 314.8 kB / 1.345 GB, free: 9.523 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.323, allocations: 30.8 kB / 1.345 GB, free: 9.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/1.323, allocations: 177.4 kB / 1.345 GB, free: 9.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/1.324, allocations: 40.94 kB / 1.345 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/1.324, allocations: 42.59 kB / 1.345 GB, free: 9.277 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.324, allocations: 338.1 kB / 1.345 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.324, allocations: 62.66 kB / 1.345 GB, free: 8.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/1.324, allocations: 118.7 kB / 1.345 GB, free: 8.859 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.325, allocations: 175.6 kB / 1.346 GB, free: 8.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.325, allocations: 5.094 kB / 1.346 GB, free: 8.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004835/1.325, allocations: 221.8 kB / 1.346 GB, free: 8.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.325, allocations: 5.469 kB / 1.346 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.325, allocations: 1.844 kB / 1.346 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.325, allocations: 1.562 kB / 1.346 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/1.325, allocations: 37.38 kB / 1.346 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.325, allocations: 2.312 kB / 1.346 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.326, allocations: 31.44 kB / 1.346 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/1.326, allocations: 13.56 kB / 1.346 GB, free: 8.629 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000169/1.326, allocations: 151.1 kB / 1.346 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/1.326, allocations: 25.41 kB / 1.346 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/1.326, allocations: 205 kB / 1.346 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.326, allocations: 3.281 kB / 1.346 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.326, allocations: 0 / 1.346 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.326, allocations: 5.875 kB / 1.346 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.328, allocations: 0.6842 MB / 1.347 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.328, allocations: 1.656 kB / 1.347 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.328, allocations: 29.67 kB / 1.347 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.328, allocations: 3.625 kB / 1.347 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.328, allocations: 6.219 kB / 1.347 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.328, allocations: 9.156 kB / 1.347 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.328, allocations: 9.125 kB / 1.347 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/1.328, allocations: 332.4 kB / 1.347 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/1.328, allocations: 122 kB / 1.347 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/1.328, allocations: 3.969 kB / 1.347 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.329, allocations: 14.95 kB / 1.347 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/1.329, allocations: 14.16 kB / 1.347 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.329, allocations: 9.062 kB / 1.347 GB, free: 7.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002573/1.329, allocations: 220.9 kB / 1.348 GB, free: 7.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.329, allocations: 0 / 1.348 GB, free: 7.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004462/1.329, allocations: 82.12 kB / 1.348 GB, free: 7.359 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001167/1.331, allocations: 0.9241 MB / 1.349 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004355/1.331, allocations: 160.7 kB / 1.349 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.331, allocations: 1.125 kB / 1.349 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/1.331, allocations: 91.27 kB / 1.349 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/1.332, allocations: 152.7 kB / 1.349 GB, free: 6.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/1.337, allocations: 2.79 MB / 1.352 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.338, allocations: 0.7828 MB / 1.352 GB, free: 3.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002786/1.338, allocations: 61.3 kB / 1.353 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.338, allocations: 92.78 kB / 1.353 GB, free: 3.758 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/1.338, allocations: 3.938 kB / 1.353 GB, free: 3.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/1.369, allocations: 8.128 MB / 1.361 GB, free: 1.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/9.214, allocations: 13.22 kB / 1.361 GB, free: 1.398 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches