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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007644/0.007644, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001671/0.001671, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7106 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6797, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1796/0.8594, allocations: 165.3 MB / 1.179 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007744/0.8672, allocations: 6.557 MB / 1.185 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.8677, allocations: 11.94 kB / 1.185 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.8683, allocations: 131.1 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.8705, allocations: 0.7938 MB / 1.186 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.8714, allocations: 283.3 kB / 1.186 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.8725, allocations: 1.018 MB / 1.187 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.8729, allocations: 226.1 kB / 1.187 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.874, allocations: 0.5097 MB / 1.188 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.8744, allocations: 282.9 kB / 1.188 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.8745, allocations: 19.94 kB / 1.188 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.8752, allocations: 395 kB / 1.189 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.8753, allocations: 99.69 kB / 1.189 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.8755, allocations: 155.2 kB / 1.189 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.8759, allocations: 343.2 kB / 1.189 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8759, allocations: 0 / 1.189 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8759, allocations: 0 / 1.189 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.876, allocations: 0 / 1.189 GB, free: 2.02 MB / 0.9356 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.0008949/0.8769, allocations: 0.6096 MB / 1.19 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.8769, allocations: 8.031 kB / 1.19 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.8772, allocations: 63.48 kB / 1.19 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.8776, allocations: 313.2 kB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.8777, allocations: 16.56 kB / 1.19 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.8777, allocations: 31.98 kB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.8783, allocations: 315.6 kB / 1.191 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8783, allocations: 4 kB / 1.191 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.8783, allocations: 12 kB / 1.191 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.8783, allocations: 8 kB / 1.191 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.8787, allocations: 209.5 kB / 1.191 GB, free: 348 kB / 0.9356 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.001542/0.8803, allocations: 1.538 MB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.8806, allocations: 126.4 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.8808, allocations: 88.81 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006601/0.8814, allocations: 303.2 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.8815, allocations: 34.56 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.8815, allocations: 0 / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007531/0.8822, allocations: 273.4 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8823, allocations: 55.41 kB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.8826, allocations: 308.5 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.8826, allocations: 29.7 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.8828, allocations: 180.1 kB / 1.194 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.8828, allocations: 51.3 kB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-05/0.8829, allocations: 33.7 kB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.883, allocations: 346.7 kB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.8832, allocations: 59.95 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.8834, allocations: 113.1 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.8837, allocations: 177 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8837, allocations: 3.938 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004261/0.8842, allocations: 217 kB / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8842, allocations: 7.984 kB / 1.195 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8842, allocations: 0 / 1.195 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8842, allocations: 4 kB / 1.195 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.8844, allocations: 36.08 kB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8844, allocations: 4 kB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.8846, allocations: 31.83 kB / 1.195 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.8847, allocations: 7.984 kB / 1.195 GB, free: 12.05 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.0001442/0.8848, allocations: 161.7 kB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.8849, allocations: 27.62 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.8853, allocations: 205.6 kB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8854, allocations: 0 / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8854, allocations: 3.984 kB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8854, allocations: 0 / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.8864, allocations: 0.6873 MB / 1.196 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8864, allocations: 3.938 kB / 1.196 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.8866, allocations: 27.98 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.8866, allocations: 4.219 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.8866, allocations: 8 kB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.8866, allocations: 7.938 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.8866, allocations: 3.938 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.8871, allocations: 337.2 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.8872, allocations: 112.7 kB / 1.196 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.8872, allocations: 11.94 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.8874, allocations: 31.84 kB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.8875, allocations: 11.94 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8875, allocations: 7.984 kB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002132/0.8877, allocations: 223.1 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8877, allocations: 0 / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003896/0.8881, allocations: 67.91 kB / 1.197 GB, free: 9.988 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.0004042/0.8885, allocations: 165.4 kB / 1.197 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.8889, allocations: 152 kB / 1.197 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8889, allocations: 0 / 1.197 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.8891, allocations: 91.81 kB / 1.197 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.89, allocations: 140 kB / 1.197 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.891, allocations: 0.6573 MB / 1.198 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.8913, allocations: 0.7798 MB / 1.198 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.8914, allocations: 27.38 kB / 1.198 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.8914, allocations: 0 / 1.198 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of Templates: time 0.007426/0.8989, allocations: 4.535 MB / 1.203 GB, free: 3.422 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches