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.001794/0.001795, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002063, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.821/2.821, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7039, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.207/0.911, allocations: 167.5 MB / 1.181 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008424/0.9195, allocations: 6.549 MB / 1.187 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.92, allocations: 15.88 kB / 1.187 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.9206, allocations: 170.7 kB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.9228, allocations: 0.8401 MB / 1.188 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009281/0.9238, allocations: 325.6 kB / 1.189 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008443/0.9246, allocations: 0.7135 MB / 1.189 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.9251, allocations: 274.8 kB / 1.19 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.9262, allocations: 0.5448 MB / 1.19 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.9267, allocations: 267 kB / 1.19 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.9267, allocations: 24 kB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.9274, allocations: 343.2 kB / 1.191 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.9276, allocations: 107.6 kB / 1.191 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.9278, allocations: 167.1 kB / 1.191 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.9284, allocations: 458.6 kB / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9284, allocations: 0 / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9285, allocations: 0 / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.9285, allocations: 0 / 1.191 GB, free: 15.72 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.0009805/0.9295, allocations: 0.6156 MB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9295, allocations: 8.031 kB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.9298, allocations: 67.48 kB / 1.192 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.9303, allocations: 309.1 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.9303, allocations: 16.56 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.9304, allocations: 28 kB / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.9309, allocations: 319.7 kB / 1.193 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.931, allocations: 3.984 kB / 1.193 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.931, allocations: 12 kB / 1.193 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.931, allocations: 11.98 kB / 1.193 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.9315, allocations: 201.6 kB / 1.193 GB, free: 14.03 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.001739/0.9332, allocations: 1.534 MB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.9335, allocations: 126.4 kB / 1.195 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.9337, allocations: 92.8 kB / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.9344, allocations: 307.2 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.9345, allocations: 30.56 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.9345, allocations: 0 / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008086/0.9353, allocations: 273.4 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.9353, allocations: 55.41 kB / 1.195 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.9357, allocations: 308.5 kB / 1.196 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.9357, allocations: 29.7 kB / 1.196 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.9359, allocations: 180.1 kB / 1.196 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.9359, allocations: 47.36 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.936, allocations: 37.7 kB / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9362, allocations: 342.8 kB / 1.196 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.9364, allocations: 63.95 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.9366, allocations: 114.6 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.9369, allocations: 173 kB / 1.197 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9369, allocations: 3.938 kB / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004494/0.9374, allocations: 229 kB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9374, allocations: 4 kB / 1.197 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9374, allocations: 0 / 1.197 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.9375, allocations: 4 kB / 1.197 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.9376, allocations: 31.92 kB / 1.197 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9377, allocations: 4 kB / 1.197 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.9378, allocations: 35.92 kB / 1.197 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.9379, allocations: 4 kB / 1.197 GB, free: 9.742 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.0001619/0.938, allocations: 157.7 kB / 1.197 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.9381, allocations: 27.62 kB / 1.197 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.9386, allocations: 201.6 kB / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.9386, allocations: 0 / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9386, allocations: 4 kB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9386, allocations: 3.984 kB / 1.197 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.9397, allocations: 0.6835 MB / 1.198 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9397, allocations: 0 / 1.198 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.9399, allocations: 31.86 kB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.9399, allocations: 4 kB / 1.198 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.9399, allocations: 8 kB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.9399, allocations: 7.938 kB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9399, allocations: 64 / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.9404, allocations: 345.2 kB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.9405, allocations: 116.7 kB / 1.198 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.9406, allocations: 4 kB / 1.198 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.9407, allocations: 15.92 kB / 1.198 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.9408, allocations: 15.92 kB / 1.198 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.9408, allocations: 8 kB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002349/0.9411, allocations: 227 kB / 1.199 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9411, allocations: 0 / 1.199 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000407/0.9415, allocations: 75.84 kB / 1.199 GB, free: 7.688 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.0004205/0.9419, allocations: 156.5 kB / 1.199 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.9424, allocations: 163.8 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9424, allocations: 0 / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.9426, allocations: 84.58 kB / 1.199 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.9434, allocations: 153.5 kB / 1.199 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.9444, allocations: 0.5406 MB / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.9448, allocations: 0.7794 MB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001952/0.945, allocations: 62.94 kB / 1.201 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.9451, allocations: 23.44 kB / 1.201 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9451, allocations: 0 / 1.201 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.01086/0.9559, allocations: 5.12 MB / 1.206 GB, free: 0.6289 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=400 -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