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.001148/0.001148, allocations: 105 kB / 15.98 MB, free: 6.352 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.001194/0.001194, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.24/2.24, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002186, allocations: 67.83 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2841, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7322/1.016, allocations: 165.3 MB / 1.111 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007563/1.024, allocations: 6.486 MB / 1.118 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/1.025, allocations: 11.97 kB / 1.118 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006092/1.025, allocations: 145.8 kB / 1.118 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/1.028, allocations: 0.7881 MB / 1.118 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/1.029, allocations: 296.2 kB / 1.119 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001021/1.03, allocations: 0.7225 MB / 1.119 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/1.03, allocations: 265.2 kB / 1.12 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/1.032, allocations: 0.5454 MB / 1.12 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/1.032, allocations: 292.7 kB / 1.12 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/1.032, allocations: 22.62 kB / 1.121 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/1.033, allocations: 346.7 kB / 1.121 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/1.033, allocations: 110.1 kB / 1.121 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/1.033, allocations: 170.7 kB / 1.121 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005194/1.034, allocations: 331.6 kB / 1.121 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.034, allocations: 0 / 1.121 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/1.034, allocations: 4 kB / 1.121 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.034, allocations: 0 / 1.121 GB, free: 5.742 MB / 0.8575 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.001031/1.035, allocations: 0.6139 MB / 1.122 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.035, allocations: 10.05 kB / 1.122 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/1.035, allocations: 62.44 kB / 1.122 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/1.036, allocations: 311.1 kB / 1.122 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/1.036, allocations: 22.66 kB / 1.122 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/1.036, allocations: 23.34 kB / 1.122 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/1.036, allocations: 321.3 kB / 1.123 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.037, allocations: 3.906 kB / 1.123 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.037, allocations: 13.48 kB / 1.123 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.037, allocations: 6.219 kB / 1.123 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/1.037, allocations: 203.4 kB / 1.123 GB, free: 20.91 MB / 0.8731 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.001605/1.039, allocations: 1.531 MB / 1.124 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/1.039, allocations: 121.2 kB / 1.125 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/1.039, allocations: 90.03 kB / 1.125 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/1.04, allocations: 305.6 kB / 1.125 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.04, allocations: 31.97 kB / 1.125 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/1.04, allocations: 0 / 1.125 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007896/1.041, allocations: 280.5 kB / 1.125 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/1.041, allocations: 52.47 kB / 1.125 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/1.041, allocations: 313 kB / 1.126 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/1.041, allocations: 27.14 kB / 1.126 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/1.041, allocations: 182.7 kB / 1.126 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/1.041, allocations: 40.94 kB / 1.126 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/1.041, allocations: 48.36 kB / 1.126 GB, free: 19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.041, allocations: 340.4 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.042, allocations: 56.12 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.042, allocations: 113.8 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/1.042, allocations: 178.2 kB / 1.127 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.042, allocations: 0 / 1.127 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004264/1.043, allocations: 217.7 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.043, allocations: 6.922 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.043, allocations: 2.297 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.043, allocations: 3 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.043, allocations: 37.45 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.043, allocations: 1.625 kB / 1.127 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.043, allocations: 41.73 kB / 1.127 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/1.043, allocations: 10.27 kB / 1.127 GB, free: 18.52 MB / 0.8731 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.0001473/1.043, allocations: 149 kB / 1.127 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/1.043, allocations: 29.31 kB / 1.127 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/1.044, allocations: 212.9 kB / 1.127 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.044, allocations: 2.406 kB / 1.127 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.044, allocations: 0 / 1.127 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.044, allocations: 2.094 kB / 1.127 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.045, allocations: 0.6846 MB / 1.128 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.045, allocations: 3.328 kB / 1.128 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/1.045, allocations: 29.75 kB / 1.128 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.045, allocations: 3.781 kB / 1.128 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.045, allocations: 6.438 kB / 1.128 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.045, allocations: 9.359 kB / 1.128 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.045, allocations: 2.562 kB / 1.128 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/1.046, allocations: 333.2 kB / 1.128 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.046, allocations: 117.2 kB / 1.128 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.046, allocations: 3.469 kB / 1.128 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.046, allocations: 25.33 kB / 1.128 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.046, allocations: 20.09 kB / 1.128 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/1.046, allocations: 4.625 kB / 1.128 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00023/1.046, allocations: 222.9 kB / 1.129 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.046, allocations: 0 / 1.129 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000447/1.047, allocations: 77.39 kB / 1.129 GB, free: 17.55 MB / 0.8731 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.0004471/1.047, allocations: 159.3 kB / 1.129 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005218/1.048, allocations: 158.5 kB / 1.129 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.048, allocations: 0.8125 kB / 1.129 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/1.048, allocations: 88.38 kB / 1.129 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/1.049, allocations: 149.6 kB / 1.129 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/1.05, allocations: 0.6612 MB / 1.13 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/1.05, allocations: 0.7822 MB / 1.131 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/1.05, allocations: 24.89 kB / 1.131 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/1.05, allocations: 1.281 kB / 1.131 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.00713/1.057, allocations: 4.557 MB / 1.135 GB, free: 15.89 MB / 0.8731 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