Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.001556/0.001556, allocations: 196.1 kB / 16.91 MB, free: 5.754 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.17 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 159.2 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.756/1.088, allocations: 165.3 MB / 1.226 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009876/1.098, allocations: 6.494 MB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007735/1.099, allocations: 9.906 kB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007714/1.1, allocations: 141.8 kB / 1.232 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/1.103, allocations: 0.7896 MB / 1.233 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.104, allocations: 306.4 kB / 1.233 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001131/1.105, allocations: 0.7176 MB / 1.234 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/1.106, allocations: 260 kB / 1.234 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/1.107, allocations: 0.5486 MB / 1.235 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/1.108, allocations: 287 kB / 1.235 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/1.108, allocations: 20 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008434/1.108, allocations: 355 kB / 1.235 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/1.109, allocations: 107.7 kB / 1.235 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/1.109, allocations: 167.1 kB / 1.235 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000582/1.11, allocations: 323.3 kB / 1.236 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.11, allocations: 4 kB / 1.236 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.11, allocations: 0 / 1.236 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.235e-05/1.11, allocations: 0 / 1.236 GB, free: 9.398 MB / 0.9512 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.001079/1.111, allocations: 0.6201 MB / 1.236 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.111, allocations: 16.56 kB / 1.236 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/1.111, allocations: 59.5 kB / 1.236 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/1.112, allocations: 309.2 kB / 1.237 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/1.112, allocations: 20.56 kB / 1.237 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.112, allocations: 24 kB / 1.237 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/1.112, allocations: 320.4 kB / 1.237 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.112, allocations: 7.984 kB / 1.237 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/1.112, allocations: 11.94 kB / 1.237 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/1.112, allocations: 8 kB / 1.237 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/1.113, allocations: 201.6 kB / 1.237 GB, free: 7.711 MB / 0.9512 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.001896/1.115, allocations: 1.527 MB / 1.239 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/1.115, allocations: 126.5 kB / 1.239 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.115, allocations: 92.73 kB / 1.239 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/1.116, allocations: 307.2 kB / 1.239 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.116, allocations: 30.56 kB / 1.239 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/1.116, allocations: 0 / 1.239 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008332/1.117, allocations: 281.4 kB / 1.24 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.117, allocations: 51.41 kB / 1.24 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.117, allocations: 308.5 kB / 1.24 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/1.117, allocations: 33.7 kB / 1.24 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.118, allocations: 184 kB / 1.24 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/1.118, allocations: 43.36 kB / 1.24 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/1.118, allocations: 33.72 kB / 1.24 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.118, allocations: 338.8 kB / 1.241 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/1.118, allocations: 59.95 kB / 1.241 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/1.118, allocations: 113 kB / 1.241 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/1.119, allocations: 182.7 kB / 1.241 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.119, allocations: 0 / 1.241 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004642/1.119, allocations: 225.1 kB / 1.241 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.119, allocations: 6.031 kB / 1.241 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.119, allocations: 4 kB / 1.241 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.119, allocations: 0 / 1.241 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/1.119, allocations: 35.97 kB / 1.241 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.119, allocations: 3.938 kB / 1.241 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/1.12, allocations: 39.89 kB / 1.241 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.12, allocations: 8 kB / 1.241 GB, free: 3.434 MB / 0.9512 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.0001782/1.12, allocations: 147.5 kB / 1.241 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/1.12, allocations: 31.61 kB / 1.241 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/1.12, allocations: 204.3 kB / 1.242 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.12, allocations: 4 kB / 1.242 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.12, allocations: 0 / 1.242 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.12, allocations: 4 kB / 1.242 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.122, allocations: 0.6872 MB / 1.242 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.122, allocations: 4 kB / 1.242 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.122, allocations: 33.66 kB / 1.242 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.122, allocations: 4 kB / 1.242 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/1.122, allocations: 4 kB / 1.242 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.122, allocations: 7.938 kB / 1.242 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.122, allocations: 4 kB / 1.242 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/1.122, allocations: 332.5 kB / 1.243 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.122, allocations: 124.7 kB / 1.243 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.122, allocations: 4 kB / 1.243 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/1.123, allocations: 19.92 kB / 1.243 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/1.123, allocations: 11.98 kB / 1.243 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.123, allocations: 8 kB / 1.243 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002671/1.123, allocations: 227 kB / 1.243 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 3.938 kB / 1.243 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004031/1.123, allocations: 71.84 kB / 1.243 GB, free: 1.375 MB / 0.9512 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.0004313/1.124, allocations: 160.2 kB / 1.243 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000487/1.124, allocations: 159.8 kB / 1.243 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.124, allocations: 0 / 1.243 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/1.125, allocations: 88.58 kB / 1.243 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/1.125, allocations: 152.7 kB / 1.244 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/1.126, allocations: 0.6639 MB / 1.244 GB, free: 116 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/1.127, allocations: 0.7795 MB / 1.245 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/1.127, allocations: 27.44 kB / 1.245 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/1.127, allocations: 0 / 1.245 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of Templates: time 0.008041/1.135, allocations: 4.535 MB / 1.249 GB, free: 10.8 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches