Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_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.001237/0.001238, 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.00129/0.00129, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.592, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1789/0.771, allocations: 167.5 MB / 1.113 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009894/0.7809, allocations: 6.542 MB / 1.12 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.7814, allocations: 15.88 kB / 1.12 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.782, allocations: 166.7 kB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.7846, allocations: 0.8401 MB / 1.121 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.7857, allocations: 338.7 kB / 1.121 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.7867, allocations: 0.7135 MB / 1.122 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.7874, allocations: 274.8 kB / 1.122 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.7888, allocations: 0.5487 MB / 1.123 GB, free: 204 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.7893, allocations: 271.1 kB / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.692e-05/0.7894, allocations: 24 kB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008064/0.7902, allocations: 335.1 kB / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.7904, allocations: 107.7 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.7907, allocations: 171.1 kB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007826/0.7915, allocations: 462.5 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7915, allocations: 0 / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7915, allocations: 0 / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.7915, allocations: 3.938 kB / 1.124 GB, free: 14.85 MB / 0.8887 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.001099/0.7926, allocations: 0.6118 MB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7927, allocations: 12.03 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.304e-05/0.7928, allocations: 62.53 kB / 1.125 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.7932, allocations: 63.44 kB / 1.125 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.7937, allocations: 305.2 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.7938, allocations: 20.56 kB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.7938, allocations: 24 kB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.7946, allocations: 319.7 kB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7946, allocations: 0 / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.7946, allocations: 12 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.7947, allocations: 4 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.7953, allocations: 213.4 kB / 1.125 GB, free: 13.1 MB / 0.8887 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.001974/0.7972, allocations: 1.542 MB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.7976, allocations: 118.5 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.7979, allocations: 88.81 kB / 1.127 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.7987, allocations: 307.2 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.7987, allocations: 34.56 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.7987, allocations: 0 / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.001007/0.7997, allocations: 277.4 kB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.7998, allocations: 55.34 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.8002, allocations: 312.5 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.8003, allocations: 25.7 kB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.8004, allocations: 184.1 kB / 1.128 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.8005, allocations: 43.39 kB / 1.128 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.8006, allocations: 41.62 kB / 1.128 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8007, allocations: 338.8 kB / 1.129 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.8009, allocations: 59.95 kB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.8012, allocations: 110.3 kB / 1.129 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.8016, allocations: 176.9 kB / 1.129 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8016, allocations: 4 kB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005205/0.8021, allocations: 217.1 kB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8022, allocations: 4 kB / 1.129 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8022, allocations: 0 / 1.129 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8022, allocations: 7.984 kB / 1.129 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.8024, allocations: 35.92 kB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8024, allocations: 4 kB / 1.129 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.8027, allocations: 27.89 kB / 1.129 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.8027, allocations: 8 kB / 1.129 GB, free: 8.828 MB / 0.8887 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.0001548/0.8029, allocations: 157.7 kB / 1.129 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.8029, allocations: 27.62 kB / 1.129 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.8035, allocations: 216.3 kB / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.8035, allocations: 0 / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8035, allocations: 4 kB / 1.13 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8035, allocations: 0 / 1.13 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.8047, allocations: 0.6834 MB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8047, allocations: 4 kB / 1.13 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.8049, allocations: 23.98 kB / 1.13 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.8049, allocations: 4 kB / 1.13 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8049, allocations: 7.938 kB / 1.13 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.8049, allocations: 3.984 kB / 1.13 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.805, allocations: 7.938 kB / 1.13 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.8054, allocations: 342.8 kB / 1.131 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.8055, allocations: 116.8 kB / 1.131 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.8055, allocations: 7.938 kB / 1.131 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.8057, allocations: 7.938 kB / 1.131 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.8058, allocations: 15.98 kB / 1.131 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.8058, allocations: 4 kB / 1.131 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001935/0.806, allocations: 227 kB / 1.131 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.806, allocations: 0 / 1.131 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003585/0.8064, allocations: 71.84 kB / 1.131 GB, free: 6.77 MB / 0.8887 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.0009338/0.8073, allocations: 0.9268 MB / 1.132 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.8077, allocations: 159.7 kB / 1.132 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8077, allocations: 4 kB / 1.132 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.8079, allocations: 84.58 kB / 1.132 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.8087, allocations: 153.9 kB / 1.132 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.8123, allocations: 2.819 MB / 1.135 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.8126, allocations: 0.7834 MB / 1.136 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.8128, allocations: 54.94 kB / 1.136 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.813, allocations: 95.41 kB / 1.136 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of SimCode: time 1.383e-06/0.813, allocations: 0 / 1.136 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.8392, allocations: 8.044 MB / 1.144 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/9.3, allocations: 6.406 kB / 1.144 GB, free: 9.598 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches