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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009528/0.0009528, allocations: 88.41 kB / 15.36 MB, free: 0.7344 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.004961/0.004961, allocations: 170.7 kB / 16.26 MB, free: 6.68 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5871, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1487/0.7359, allocations: 163.1 MB / 1.114 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00636/0.7423, allocations: 6.466 MB / 1.121 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.7425, allocations: 11.94 kB / 1.121 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.7428, allocations: 123.1 kB / 1.121 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.7442, allocations: 0.7899 MB / 1.122 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.7449, allocations: 298.9 kB / 1.122 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008/0.7457, allocations: 1.014 MB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.746, allocations: 230.1 kB / 1.123 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.7468, allocations: 0.5058 MB / 1.124 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.7471, allocations: 270.9 kB / 1.124 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.7471, allocations: 16 kB / 1.124 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.7476, allocations: 391 kB / 1.124 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.7477, allocations: 95.7 kB / 1.124 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.7479, allocations: 180.8 kB / 1.125 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.7484, allocations: 478.4 kB / 1.125 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7484, allocations: 3.938 kB / 1.125 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7484, allocations: 0 / 1.125 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7484, allocations: 0 / 1.125 GB, free: 0.7188 MB / 0.8731 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.0006362/0.749, allocations: 0.5534 MB / 1.126 GB, free: 120 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.7491, allocations: 8.031 kB / 1.126 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.7491, allocations: 62.55 kB / 1.126 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.7494, allocations: 67.5 kB / 1.126 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.7497, allocations: 305.2 kB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7497, allocations: 16.56 kB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.7498, allocations: 28 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.7503, allocations: 323.7 kB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7503, allocations: 4 kB / 1.126 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.7503, allocations: 8 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.7503, allocations: 8 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.7507, allocations: 217.4 kB / 1.127 GB, free: 15.02 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.001238/0.752, allocations: 1.55 MB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.7522, allocations: 122.5 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.7524, allocations: 101.3 kB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.7529, allocations: 323.2 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.753, allocations: 30.56 kB / 1.129 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.753, allocations: 0 / 1.129 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006674/0.7536, allocations: 290.5 kB / 1.129 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.7537, allocations: 55.41 kB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.7539, allocations: 308.5 kB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.754, allocations: 29.7 kB / 1.129 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7541, allocations: 192 kB / 1.13 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.7541, allocations: 39.45 kB / 1.13 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.7541, allocations: 17.72 kB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.7542, allocations: 346.8 kB / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.7544, allocations: 59.95 kB / 1.13 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.7546, allocations: 126.6 kB / 1.13 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.7549, allocations: 181 kB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7549, allocations: 0 / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003943/0.7553, allocations: 229.1 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7553, allocations: 4 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7553, allocations: 0 / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.7554, allocations: 4 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.7555, allocations: 39.92 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7555, allocations: 12.14 kB / 1.131 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.7557, allocations: 39.67 kB / 1.131 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.7558, allocations: 8 kB / 1.131 GB, free: 10.66 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.0001187/0.7559, allocations: 153.7 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.7559, allocations: 23.72 kB / 1.131 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.7563, allocations: 218.2 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7564, allocations: 4 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7564, allocations: 0 / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7564, allocations: 0 / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.7572, allocations: 0.7029 MB / 1.132 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7573, allocations: 0 / 1.132 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.7574, allocations: 27.98 kB / 1.132 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7574, allocations: 7.984 kB / 1.132 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7574, allocations: 7.938 kB / 1.132 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7574, allocations: 0 / 1.132 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7574, allocations: 7.938 kB / 1.132 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.7578, allocations: 345.3 kB / 1.132 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.7579, allocations: 120.8 kB / 1.132 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.758, allocations: 3.938 kB / 1.132 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.7582, allocations: 31.86 kB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.7582, allocations: 15.92 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.7582, allocations: 4 kB / 1.132 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001818/0.7584, allocations: 231 kB / 1.132 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7584, allocations: 0 / 1.132 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003206/0.7587, allocations: 63.91 kB / 1.132 GB, free: 8.562 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.0008268/0.7596, allocations: 0.9561 MB / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.7599, allocations: 168 kB / 1.134 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7599, allocations: 0 / 1.134 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.7601, allocations: 87.81 kB / 1.134 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.7609, allocations: 141.5 kB / 1.134 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.7639, allocations: 2.938 MB / 1.137 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.7642, allocations: 0.7797 MB / 1.137 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.7643, allocations: 66.92 kB / 1.137 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.7645, allocations: 87.41 kB / 1.138 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.7645, allocations: 4 kB / 1.138 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.019/5.783, allocations: 7.546 MB / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/5.783, allocations: 241.5 kB / 1.145 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/7.626, allocations: 0 / 1.145 GB, free: 11.54 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