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.001078/0.001078, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.00102/0.00102, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.472/2.472, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.48 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3228, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8234/1.146, allocations: 167.5 MB / 1.182 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008834/1.155, allocations: 6.545 MB / 1.189 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/1.156, allocations: 16.78 kB / 1.189 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/1.157, allocations: 173.7 kB / 1.189 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/1.159, allocations: 0.8398 MB / 1.19 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/1.16, allocations: 333.2 kB / 1.19 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001066/1.161, allocations: 0.712 MB / 1.191 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006209/1.162, allocations: 280.2 kB / 1.191 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/1.164, allocations: 0.5502 MB / 1.192 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/1.164, allocations: 265.1 kB / 1.192 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/1.164, allocations: 22.62 kB / 1.192 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/1.165, allocations: 346.5 kB / 1.192 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/1.166, allocations: 109.8 kB / 1.192 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/1.166, allocations: 158.7 kB / 1.192 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007642/1.167, allocations: 475.1 kB / 1.193 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.167, allocations: 4 kB / 1.193 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/1.167, allocations: 0 / 1.193 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.167, allocations: 0 / 1.193 GB, free: 15.36 MB / 0.9044 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.0009238/1.167, allocations: 0.6135 MB / 1.194 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.168, allocations: 8.625 kB / 1.194 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/1.168, allocations: 59.41 kB / 1.194 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/1.168, allocations: 323.6 kB / 1.194 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/1.168, allocations: 19.03 kB / 1.194 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/1.169, allocations: 27.47 kB / 1.194 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/1.169, allocations: 324.1 kB / 1.194 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.169, allocations: 3.938 kB / 1.194 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/1.169, allocations: 6.906 kB / 1.194 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.169, allocations: 12.28 kB / 1.194 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/1.17, allocations: 200.5 kB / 1.194 GB, free: 14.13 MB / 0.9044 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.001524/1.171, allocations: 1.529 MB / 1.196 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/1.171, allocations: 126.5 kB / 1.196 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/1.172, allocations: 87.02 kB / 1.196 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/1.172, allocations: 308 kB / 1.196 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.172, allocations: 34.56 kB / 1.196 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 2.986e-06/1.172, allocations: 3.984 kB / 1.196 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007545/1.173, allocations: 275.7 kB / 1.197 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/1.173, allocations: 55.39 kB / 1.197 GB, free: 12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/1.173, allocations: 309.8 kB / 1.197 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.173, allocations: 31.08 kB / 1.197 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/1.174, allocations: 180.6 kB / 1.197 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/1.174, allocations: 42.23 kB / 1.197 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/1.174, allocations: 43.45 kB / 1.197 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.174, allocations: 341.6 kB / 1.198 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/1.174, allocations: 54.2 kB / 1.198 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/1.174, allocations: 117.9 kB / 1.198 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/1.174, allocations: 178.2 kB / 1.198 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.175, allocations: 1.062 kB / 1.198 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004391/1.175, allocations: 224.8 kB / 1.198 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.175, allocations: 5.562 kB / 1.198 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.175, allocations: 1.094 kB / 1.198 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.175, allocations: 2.281 kB / 1.198 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/1.175, allocations: 37.75 kB / 1.198 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.175, allocations: 6.875 kB / 1.198 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.175, allocations: 29.52 kB / 1.198 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/1.175, allocations: 10.53 kB / 1.198 GB, free: 10.79 MB / 0.9044 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.0001425/1.176, allocations: 147.8 kB / 1.198 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/1.176, allocations: 29.16 kB / 1.199 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/1.176, allocations: 207.5 kB / 1.199 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.176, allocations: 1.812 kB / 1.199 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.176, allocations: 4 kB / 1.199 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.176, allocations: 0 / 1.199 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/1.177, allocations: 0.6867 MB / 1.199 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.177, allocations: 2.656 kB / 1.199 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.177, allocations: 28.23 kB / 1.199 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.177, allocations: 3 kB / 1.199 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.177, allocations: 2.906 kB / 1.199 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.177, allocations: 6.719 kB / 1.199 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.177, allocations: 2.094 kB / 1.199 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/1.178, allocations: 344.1 kB / 1.2 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.178, allocations: 123.5 kB / 1.2 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/1.178, allocations: 6.734 kB / 1.2 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/1.178, allocations: 13.28 kB / 1.2 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/1.178, allocations: 15.55 kB / 1.2 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/1.178, allocations: 4.844 kB / 1.2 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002084/1.178, allocations: 227.5 kB / 1.2 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.178, allocations: 3.281 kB / 1.2 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003923/1.179, allocations: 77.47 kB / 1.2 GB, free: 9.316 MB / 0.9044 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.0003806/1.179, allocations: 157.5 kB / 1.2 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003934/1.179, allocations: 161 kB / 1.201 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.18, allocations: 0 / 1.201 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/1.18, allocations: 81.95 kB / 1.201 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/1.18, allocations: 164.7 kB / 1.201 GB, free: 9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/1.181, allocations: 0.5177 MB / 1.201 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.182, allocations: 0.7807 MB / 1.202 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001782/1.182, allocations: 58.06 kB / 1.202 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/1.182, allocations: 30.56 kB / 1.202 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.182, allocations: 0 / 1.202 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of Templates: time 0.00983/1.192, allocations: 5.119 MB / 1.207 GB, free: 5.324 MB / 0.9044 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 -s cvode -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