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: 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_10_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_10_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.008385/0.008385, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001792/0.001792, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3095, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8765/1.186, allocations: 167.5 MB / 1.33 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007512/1.194, allocations: 6.538 MB / 1.337 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/1.194, allocations: 16.91 kB / 1.337 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005139/1.195, allocations: 168.8 kB / 1.337 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/1.197, allocations: 0.877 MB / 1.338 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009551/1.198, allocations: 332.5 kB / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008604/1.199, allocations: 0.7163 MB / 1.339 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/1.199, allocations: 285.6 kB / 1.339 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/1.2, allocations: 0.5638 MB / 1.339 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/1.201, allocations: 268.6 kB / 1.34 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/1.201, allocations: 22.12 kB / 1.34 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/1.201, allocations: 356.1 kB / 1.34 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.201, allocations: 103.5 kB / 1.34 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/1.202, allocations: 164.9 kB / 1.34 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006399/1.202, allocations: 471.5 kB / 1.341 GB, free: 12.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.202, allocations: 0 / 1.341 GB, free: 12.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/1.202, allocations: 0 / 1.341 GB, free: 12.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.202, allocations: 1.219 kB / 1.341 GB, free: 12.63 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.0009091/1.203, allocations: 0.6223 MB / 1.341 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.203, allocations: 14.41 kB / 1.341 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/1.204, allocations: 62.84 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/1.204, allocations: 328.1 kB / 1.342 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.204, allocations: 27.25 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/1.204, allocations: 27.58 kB / 1.342 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/1.205, allocations: 308.3 kB / 1.342 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.205, allocations: 5.531 kB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/1.205, allocations: 11 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.205, allocations: 9.562 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/1.205, allocations: 198.7 kB / 1.342 GB, free: 11.54 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.00162/1.207, allocations: 1.54 MB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/1.207, allocations: 120.6 kB / 1.344 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.207, allocations: 90.39 kB / 1.344 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/1.208, allocations: 301.3 kB / 1.344 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.208, allocations: 39.66 kB / 1.344 GB, free: 9.801 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/1.208, allocations: 0 / 1.344 GB, free: 9.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007723/1.209, allocations: 269.9 kB / 1.345 GB, free: 9.699 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.209, allocations: 55.06 kB / 1.345 GB, free: 9.637 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.209, allocations: 315.8 kB / 1.345 GB, free: 9.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/1.209, allocations: 26.89 kB / 1.345 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/1.209, allocations: 182.7 kB / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/1.209, allocations: 59.77 kB / 1.345 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/1.21, allocations: 41.12 kB / 1.345 GB, free: 9.203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.21, allocations: 336.6 kB / 1.346 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/1.21, allocations: 59.08 kB / 1.346 GB, free: 8.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/1.21, allocations: 119.8 kB / 1.346 GB, free: 8.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/1.21, allocations: 175.5 kB / 1.346 GB, free: 8.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/1.21, allocations: 1.406 kB / 1.346 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004326/1.211, allocations: 216.2 kB / 1.346 GB, free: 8.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.211, allocations: 8.75 kB / 1.346 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.211, allocations: 2.375 kB / 1.346 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.211, allocations: 6.188 kB / 1.346 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/1.211, allocations: 34.19 kB / 1.346 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/1.211, allocations: 1.812 kB / 1.346 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/1.211, allocations: 31.11 kB / 1.346 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.211, allocations: 6.906 kB / 1.346 GB, free: 8.566 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.0001611/1.212, allocations: 148.2 kB / 1.346 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/1.212, allocations: 28.81 kB / 1.346 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/1.212, allocations: 216.8 kB / 1.347 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.212, allocations: 5.031 kB / 1.347 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.212, allocations: 0 / 1.347 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.212, allocations: 0 / 1.347 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.213, allocations: 0.6764 MB / 1.347 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.213, allocations: 1.188 kB / 1.347 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/1.213, allocations: 32.53 kB / 1.347 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.213, allocations: 2.375 kB / 1.347 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/1.213, allocations: 7.875 kB / 1.347 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.213, allocations: 11 kB / 1.347 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.213, allocations: 2.188 kB / 1.347 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/1.214, allocations: 342.3 kB / 1.348 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.214, allocations: 118.1 kB / 1.348 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/1.214, allocations: 11.08 kB / 1.348 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.214, allocations: 10.94 kB / 1.348 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/1.214, allocations: 20 kB / 1.348 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.214, allocations: 7.422 kB / 1.348 GB, free: 7.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002273/1.215, allocations: 221.7 kB / 1.348 GB, free: 7.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.215, allocations: 1.094 kB / 1.348 GB, free: 7.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004185/1.215, allocations: 71.75 kB / 1.348 GB, free: 7.301 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.0003762/1.215, allocations: 169 kB / 1.348 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003911/1.216, allocations: 155.4 kB / 1.348 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.216, allocations: 4 kB / 1.348 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/1.216, allocations: 89.12 kB / 1.349 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/1.217, allocations: 143.8 kB / 1.349 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/1.218, allocations: 0.5447 MB / 1.349 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/1.218, allocations: 0.7859 MB / 1.35 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001696/1.218, allocations: 61.95 kB / 1.35 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/1.218, allocations: 25.06 kB / 1.35 GB, free: 5.969 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/1.218, allocations: 0 / 1.35 GB, free: 5.969 MB / 1.029 GB Notification: Performance of Templates: time 0.009337/1.228, allocations: 5.143 MB / 1.355 GB, free: 5.301 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches