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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009092/0.0009092, allocations: 92.78 kB / 16.02 MB, free: 80 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.001219/0.001219, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.000468, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7452, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1824/0.9277, allocations: 163.1 MB / 1.115 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009009/0.9368, allocations: 6.472 MB / 1.121 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.9374, allocations: 11.94 kB / 1.121 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.9381, allocations: 127.1 kB / 1.121 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.9406, allocations: 0.7899 MB / 1.122 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.9416, allocations: 295.1 kB / 1.123 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.943, allocations: 1.01 MB / 1.124 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.9435, allocations: 226.1 kB / 1.124 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.945, allocations: 0.502 MB / 1.124 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.9457, allocations: 274.9 kB / 1.124 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.9458, allocations: 16 kB / 1.124 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.9468, allocations: 391 kB / 1.125 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.947, allocations: 99.66 kB / 1.125 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.9473, allocations: 172.9 kB / 1.125 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.9479, allocations: 331.2 kB / 1.125 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9479, allocations: 3.984 kB / 1.125 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9479, allocations: 0 / 1.125 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.9479, allocations: 0 / 1.125 GB, free: 0.918 MB / 0.8731 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.0009905/0.9489, allocations: 0.5571 MB / 1.126 GB, free: 320 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.949, allocations: 16.03 kB / 1.126 GB, free: 304 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.9494, allocations: 63.44 kB / 1.126 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.9498, allocations: 305.2 kB / 1.126 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.9499, allocations: 20.56 kB / 1.126 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.9499, allocations: 24 kB / 1.126 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.9505, allocations: 327.7 kB / 1.127 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.9506, allocations: 0 / 1.127 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.9506, allocations: 15.94 kB / 1.127 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.9506, allocations: 4 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.9511, allocations: 221.5 kB / 1.127 GB, free: 15.27 MB / 0.8887 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.001791/0.9529, allocations: 1.538 MB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.9532, allocations: 126.5 kB / 1.129 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.9534, allocations: 93.05 kB / 1.129 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.9541, allocations: 327.2 kB / 1.129 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9541, allocations: 46.48 kB / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.9541, allocations: 0 / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0008507/0.955, allocations: 287.5 kB / 1.129 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.955, allocations: 51.41 kB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.9554, allocations: 304.6 kB / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.9554, allocations: 37.7 kB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.9556, allocations: 184 kB / 1.13 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.9556, allocations: 39.45 kB / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.9557, allocations: 17.72 kB / 1.13 GB, free: 12 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.9559, allocations: 342.8 kB / 1.13 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.956, allocations: 59.95 kB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.9563, allocations: 128.9 kB / 1.13 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.9566, allocations: 184.9 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9567, allocations: 4 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000476/0.9571, allocations: 229.1 kB / 1.131 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9572, allocations: 5.719 kB / 1.131 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.9572, allocations: 4 kB / 1.131 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9572, allocations: 0 / 1.131 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.9574, allocations: 48.08 kB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9574, allocations: 4 kB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.9577, allocations: 39.66 kB / 1.131 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.9577, allocations: 12 kB / 1.131 GB, free: 10.91 MB / 0.8887 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.0001613/0.9579, allocations: 145.8 kB / 1.131 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.9579, allocations: 27.72 kB / 1.131 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.9584, allocations: 224.3 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9584, allocations: 0 / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9584, allocations: 0 / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9585, allocations: 0 / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.9595, allocations: 0.699 MB / 1.132 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9595, allocations: 4 kB / 1.132 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.9596, allocations: 31.92 kB / 1.132 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.9597, allocations: 0 / 1.132 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.9597, allocations: 7.938 kB / 1.132 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9597, allocations: 7.984 kB / 1.132 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9597, allocations: 4.156 kB / 1.132 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.9601, allocations: 345 kB / 1.132 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.9603, allocations: 120.8 kB / 1.132 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.9604, allocations: 7.938 kB / 1.132 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.9606, allocations: 27.92 kB / 1.133 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.9606, allocations: 11.92 kB / 1.133 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.9606, allocations: 4 kB / 1.133 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002091/0.9609, allocations: 231 kB / 1.133 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9609, allocations: 0 / 1.133 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003885/0.9613, allocations: 71.91 kB / 1.133 GB, free: 8.809 MB / 0.8887 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.000401/0.9617, allocations: 150.7 kB / 1.133 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.9621, allocations: 171.8 kB / 1.133 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9621, allocations: 0 / 1.133 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.9623, allocations: 88.58 kB / 1.133 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.9633, allocations: 154.2 kB / 1.133 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.9643, allocations: 0.6786 MB / 1.134 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.9647, allocations: 0.7758 MB / 1.135 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.9648, allocations: 27.42 kB / 1.135 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.9648, allocations: 4 kB / 1.135 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of Templates: time 0.008938/0.9738, allocations: 4.497 MB / 1.139 GB, free: 2.242 MB / 0.8887 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