Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001182/0.001182, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001177/0.001177, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9105, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2105/1.121, allocations: 167.5 MB / 1.252 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008735/1.13, allocations: 6.522 MB / 1.259 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/1.131, allocations: 15.94 kB / 1.259 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/1.131, allocations: 166.8 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/1.134, allocations: 0.8479 MB / 1.26 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/1.135, allocations: 334 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001079/1.136, allocations: 0.7134 MB / 1.261 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/1.137, allocations: 283.2 kB / 1.261 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/1.138, allocations: 0.5487 MB / 1.261 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/1.139, allocations: 274.9 kB / 1.262 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/1.139, allocations: 24 kB / 1.262 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007906/1.14, allocations: 343.2 kB / 1.262 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/1.14, allocations: 103.7 kB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/1.14, allocations: 163.2 kB / 1.262 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008065/1.141, allocations: 468.5 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.141, allocations: 0 / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.335e-06/1.141, allocations: 7.938 kB / 1.263 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.141, allocations: 0 / 1.263 GB, free: 11.38 MB / 0.9981 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.001114/1.142, allocations: 0.6155 MB / 1.263 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.142, allocations: 12.03 kB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/1.143, allocations: 59.58 kB / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/1.143, allocations: 325.1 kB / 1.264 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.143, allocations: 20.56 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/1.143, allocations: 24 kB / 1.264 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/1.144, allocations: 323.7 kB / 1.264 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.144, allocations: 0 / 1.264 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/1.144, allocations: 15.98 kB / 1.264 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/1.144, allocations: 4 kB / 1.264 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/1.144, allocations: 197.6 kB / 1.264 GB, free: 9.688 MB / 0.9981 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.001728/1.146, allocations: 1.538 MB / 1.266 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.146, allocations: 122.5 kB / 1.266 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/1.147, allocations: 96.73 kB / 1.266 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/1.147, allocations: 303.2 kB / 1.266 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.147, allocations: 30.56 kB / 1.266 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/1.147, allocations: 4 kB / 1.266 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007828/1.148, allocations: 269.5 kB / 1.267 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.148, allocations: 51.41 kB / 1.267 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/1.148, allocations: 308.5 kB / 1.267 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/1.149, allocations: 37.64 kB / 1.267 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/1.149, allocations: 184 kB / 1.267 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.035e-05/1.149, allocations: 47.3 kB / 1.267 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/1.149, allocations: 41.7 kB / 1.267 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.149, allocations: 338.8 kB / 1.268 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/1.149, allocations: 59.89 kB / 1.268 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/1.149, allocations: 109.1 kB / 1.268 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/1.15, allocations: 177 kB / 1.268 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.15, allocations: 3.938 kB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004287/1.15, allocations: 221.1 kB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.15, allocations: 10.5 kB / 1.268 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.15, allocations: 0 / 1.268 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.15, allocations: 4 kB / 1.268 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.15, allocations: 31.92 kB / 1.268 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.15, allocations: 11.97 kB / 1.268 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/1.151, allocations: 20 kB / 1.268 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/1.151, allocations: 15.98 kB / 1.268 GB, free: 5.402 MB / 0.9981 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.000167/1.151, allocations: 150.2 kB / 1.268 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.151, allocations: 31.62 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/1.151, allocations: 196.3 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/1.151, allocations: 4 kB / 1.269 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.151, allocations: 3.938 kB / 1.269 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.151, allocations: 3.984 kB / 1.269 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.152, allocations: 0.6874 MB / 1.269 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.152, allocations: 4 kB / 1.269 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.153, allocations: 27.92 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.153, allocations: 4.062 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.153, allocations: 12 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.153, allocations: 3.938 kB / 1.269 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.153, allocations: 4 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/1.153, allocations: 336.7 kB / 1.27 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/1.153, allocations: 120.7 kB / 1.27 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/1.153, allocations: 8 kB / 1.27 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/1.153, allocations: 15.92 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/1.154, allocations: 19.92 kB / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.154, allocations: 4 kB / 1.27 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002246/1.154, allocations: 223 kB / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.154, allocations: 0 / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003746/1.154, allocations: 71.84 kB / 1.27 GB, free: 3.352 MB / 0.9981 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.0004013/1.155, allocations: 151.8 kB / 1.27 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004167/1.155, allocations: 163.8 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.155, allocations: 0 / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/1.155, allocations: 83.83 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/1.156, allocations: 153.1 kB / 1.271 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/1.157, allocations: 0.5662 MB / 1.271 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.157, allocations: 0.7756 MB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/1.157, allocations: 27.44 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of SimCode: time 3.306e-06/1.158, allocations: 0 / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of Templates: time 0.00812/1.166, allocations: 4.581 MB / 1.276 GB, free: 12.82 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches