Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 98.11 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.007731/0.007731, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000529/0.000529, allocations: 18.5 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4006, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1914/0.592, allocations: 174.9 MB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009224/0.6013, allocations: 7.747 MB / 1.237 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005919/0.6019, allocations: 15.88 kB / 1.237 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.6026, allocations: 182.8 kB / 1.237 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.6057, allocations: 1.156 MB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.6077, allocations: 0.666 MB / 1.239 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.6093, allocations: 1.54 MB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.6098, allocations: 341.8 kB / 1.241 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.6123, allocations: 0.7452 MB / 1.242 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.6129, allocations: 450.3 kB / 1.242 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.613, allocations: 24 kB / 1.242 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.6148, allocations: 1.087 MB / 1.243 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.615, allocations: 151.5 kB / 1.243 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.6152, allocations: 244.5 kB / 1.243 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.6165, allocations: 0.9735 MB / 1.244 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6165, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6165, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6165, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001037/0.6175, allocations: 0.7209 MB / 1.245 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6176, allocations: 12.03 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.6185, allocations: 151.2 kB / 1.245 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.619, allocations: 383.4 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.6191, allocations: 33 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.6191, allocations: 36 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.6199, allocations: 458.4 kB / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6199, allocations: 0 / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.62, allocations: 19.94 kB / 1.246 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.62, allocations: 12 kB / 1.246 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.6206, allocations: 327.7 kB / 1.246 GB, free: 4.414 MB / 0.9981 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.00205/0.6226, allocations: 2.024 MB / 1.248 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.6231, allocations: 246.4 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.6233, allocations: 152.8 kB / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.6239, allocations: 319.2 kB / 1.249 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.624, allocations: 38.56 kB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.624, allocations: 4 kB / 1.249 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001009/0.625, allocations: 468 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.625, allocations: 59.34 kB / 1.25 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.6254, allocations: 402 kB / 1.25 GB, free: 480 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.6255, allocations: 29.7 kB / 1.25 GB, free: 444 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.6256, allocations: 228.2 kB / 1.25 GB, free: 208 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.6257, allocations: 78.83 kB / 1.25 GB, free: 128 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.6257, allocations: 29.7 kB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.7123/1.338, allocations: 354.4 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/1.339, allocations: 112.3 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/1.339, allocations: 188.9 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/1.34, allocations: 318.9 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.34, allocations: 0.5156 kB / 1.251 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008979/1.34, allocations: 376.1 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.34, allocations: 6.188 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.341, allocations: 6.484 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.341, allocations: 3.094 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/1.341, allocations: 62.38 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.341, allocations: 9.625 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/1.341, allocations: 54.72 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/1.341, allocations: 10.89 kB / 1.252 GB, free: 194.4 MB / 0.9981 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 (31): * Single equations (assignments): 31 * 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.0002081/1.341, allocations: 165.3 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/1.342, allocations: 39.56 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/1.342, allocations: 392.1 kB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.342, allocations: 4.953 kB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.342, allocations: 3.938 kB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.342, allocations: 2.016 kB / 1.252 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.344, allocations: 0.9459 MB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.344, allocations: 2.031 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/1.344, allocations: 53.16 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.344, allocations: 3 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.344, allocations: 5.188 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.344, allocations: 6.344 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.344, allocations: 6.031 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/1.345, allocations: 0.6485 MB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.345, allocations: 141.6 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/1.345, allocations: 14.53 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/1.346, allocations: 22.45 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/1.346, allocations: 28.42 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.346, allocations: 12.81 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002977/1.346, allocations: 280.1 kB / 1.254 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.346, allocations: 0 / 1.254 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005015/1.347, allocations: 118.4 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0004104/1.347, allocations: 171.6 kB / 1.255 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005461/1.348, allocations: 296.6 kB / 1.255 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.348, allocations: 3.031 kB / 1.255 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.348, allocations: 155.5 kB / 1.255 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.349, allocations: 210.2 kB / 1.255 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/1.35, allocations: 0.9875 MB / 1.256 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/1.351, allocations: 0.831 MB / 1.257 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000313/1.351, allocations: 92.86 kB / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/1.351, allocations: 36.25 kB / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.351, allocations: 0 / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of Templates: time 0.01594/1.367, allocations: 7.199 MB / 1.264 GB, free: 191.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches