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.008963/0.008963, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.00207/0.00207, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 66.72 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2927, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1858/0.4785, allocations: 167.5 MB / 1.252 GB, free: 9.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007898/0.4865, allocations: 6.528 MB / 1.258 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.487, allocations: 11.94 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.4877, allocations: 186.7 kB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.49, allocations: 0.8322 MB / 1.259 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.491, allocations: 327 kB / 1.259 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009415/0.4919, allocations: 0.7212 MB / 1.26 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.4925, allocations: 275.3 kB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7187/1.211, allocations: 0.5531 MB / 1.261 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/1.212, allocations: 262.1 kB / 1.261 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/1.212, allocations: 22.94 kB / 1.261 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/1.213, allocations: 346.4 kB / 1.261 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/1.213, allocations: 105.4 kB / 1.261 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/1.213, allocations: 163.6 kB / 1.262 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008768/1.214, allocations: 475.1 kB / 1.262 GB, free: 4.363 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.214, allocations: 0 / 1.262 GB, free: 4.363 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/1.214, allocations: 1.062 kB / 1.262 GB, free: 4.363 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.041e-05/1.214, allocations: 0.5156 kB / 1.262 GB, free: 4.363 MB / 1.014 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.000906/1.215, allocations: 0.6155 MB / 1.263 GB, free: 3.941 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.215, allocations: 9.906 kB / 1.263 GB, free: 3.941 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/1.216, allocations: 64.75 kB / 1.263 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/1.216, allocations: 324.6 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/1.216, allocations: 21.91 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/1.216, allocations: 27.09 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/1.217, allocations: 318.2 kB / 1.263 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.217, allocations: 1.453 kB / 1.263 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/1.217, allocations: 11.42 kB / 1.263 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.217, allocations: 6.375 kB / 1.263 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/1.217, allocations: 204.1 kB / 1.264 GB, free: 3.602 MB / 1.014 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.001488/1.219, allocations: 1.533 MB / 1.265 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/1.219, allocations: 117.5 kB / 1.265 GB, free: 2.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.219, allocations: 90.19 kB / 1.265 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/1.22, allocations: 303 kB / 1.266 GB, free: 18.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.22, allocations: 37.81 kB / 1.266 GB, free: 18.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.22, allocations: 0 / 1.266 GB, free: 18.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008118/1.221, allocations: 274.6 kB / 1.266 GB, free: 18.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.221, allocations: 54.45 kB / 1.266 GB, free: 18.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/1.221, allocations: 309.8 kB / 1.266 GB, free: 17.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.221, allocations: 32.69 kB / 1.266 GB, free: 17.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/1.222, allocations: 185.7 kB / 1.266 GB, free: 17.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/1.222, allocations: 42.39 kB / 1.266 GB, free: 17.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/1.222, allocations: 40.81 kB / 1.267 GB, free: 17.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.222, allocations: 337.9 kB / 1.267 GB, free: 17.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.222, allocations: 59.89 kB / 1.267 GB, free: 17.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.222, allocations: 111.8 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/1.223, allocations: 179.9 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.223, allocations: 1.406 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004649/1.223, allocations: 218.7 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.223, allocations: 5.625 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.223, allocations: 8.562 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.223, allocations: 2.438 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/1.223, allocations: 40.25 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.223, allocations: 2.656 kB / 1.267 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/1.224, allocations: 29.17 kB / 1.267 GB, free: 17.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/1.224, allocations: 8.547 kB / 1.267 GB, free: 17.25 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.0001529/1.224, allocations: 148.7 kB / 1.268 GB, free: 17.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/1.224, allocations: 29 kB / 1.268 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/1.224, allocations: 219.6 kB / 1.268 GB, free: 17.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/1.224, allocations: 1.375 kB / 1.268 GB, free: 17.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.224, allocations: 0.75 kB / 1.268 GB, free: 17.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.224, allocations: 1.156 kB / 1.268 GB, free: 17.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.225, allocations: 0.6891 MB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.225, allocations: 2.109 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/1.226, allocations: 31.19 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.226, allocations: 2.156 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.226, allocations: 11.75 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.226, allocations: 3.766 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.226, allocations: 2.219 kB / 1.269 GB, free: 16.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/1.226, allocations: 338.4 kB / 1.269 GB, free: 16.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.226, allocations: 119.8 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/1.226, allocations: 5.688 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/1.226, allocations: 12.34 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/1.227, allocations: 17.86 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/1.227, allocations: 6.453 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002256/1.227, allocations: 228 kB / 1.269 GB, free: 16.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.227, allocations: 0.9688 kB / 1.269 GB, free: 16.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004511/1.227, allocations: 70.75 kB / 1.269 GB, free: 16.31 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.000367/1.228, allocations: 154.5 kB / 1.269 GB, free: 16.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004349/1.228, allocations: 160.2 kB / 1.27 GB, free: 16.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.228, allocations: 0.8438 kB / 1.27 GB, free: 16.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/1.228, allocations: 81.53 kB / 1.27 GB, free: 16.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/1.229, allocations: 148.3 kB / 1.27 GB, free: 16.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/1.23, allocations: 0.5367 MB / 1.27 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/1.23, allocations: 0.7804 MB / 1.271 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002072/1.231, allocations: 66.75 kB / 1.271 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/1.231, allocations: 27.97 kB / 1.271 GB, free: 15.19 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/1.231, allocations: 0.9375 kB / 1.271 GB, free: 15.19 MB / 1.029 GB Notification: Performance of Templates: time 0.01302/1.244, allocations: 5.231 MB / 1.276 GB, free: 15.07 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches