Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0016/0.0016, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.00162/0.00162, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.38/1.38, 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 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.25 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3538, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7632/1.117, allocations: 167.5 MB / 1.19 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00869/1.126, allocations: 6.544 MB / 1.197 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/1.127, allocations: 16.91 kB / 1.197 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/1.127, allocations: 166 kB / 1.197 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/1.13, allocations: 0.8351 MB / 1.198 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.131, allocations: 338 kB / 1.198 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001067/1.132, allocations: 0.7128 MB / 1.199 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/1.133, allocations: 279.3 kB / 1.199 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/1.134, allocations: 0.5498 MB / 1.2 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/1.135, allocations: 265.5 kB / 1.2 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/1.135, allocations: 23.09 kB / 1.2 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/1.136, allocations: 349.7 kB / 1.2 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.136, allocations: 110.1 kB / 1.2 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/1.136, allocations: 158.2 kB / 1.2 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006645/1.137, allocations: 473.9 kB / 1.201 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/1.137, allocations: 0 / 1.201 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/1.137, allocations: 0 / 1.201 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.137, allocations: 0 / 1.201 GB, free: 5.383 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.0008459/1.137, allocations: 0.6145 MB / 1.201 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.138, allocations: 9.844 kB / 1.201 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/1.138, allocations: 62.62 kB / 1.202 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/1.138, allocations: 329.5 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/1.138, allocations: 19.22 kB / 1.202 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/1.138, allocations: 27.53 kB / 1.202 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/1.139, allocations: 317.7 kB / 1.202 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.139, allocations: 7.938 kB / 1.202 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/1.139, allocations: 10.81 kB / 1.202 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.139, allocations: 7.625 kB / 1.202 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/1.14, allocations: 201.2 kB / 1.202 GB, free: 4.145 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.001588/1.141, allocations: 1.528 MB / 1.204 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/1.141, allocations: 120.2 kB / 1.204 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/1.142, allocations: 92.97 kB / 1.204 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005872/1.142, allocations: 308 kB / 1.204 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.142, allocations: 30.56 kB / 1.204 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/1.142, allocations: 3 kB / 1.204 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007505/1.143, allocations: 267.8 kB / 1.205 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.143, allocations: 62.02 kB / 1.205 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/1.143, allocations: 313.2 kB / 1.205 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/1.143, allocations: 25.7 kB / 1.205 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.144, allocations: 182.5 kB / 1.205 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/1.144, allocations: 48.53 kB / 1.205 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/1.144, allocations: 34.86 kB / 1.205 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.144, allocations: 337.8 kB / 1.206 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.144, allocations: 63.77 kB / 1.206 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/1.144, allocations: 110.3 kB / 1.206 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/1.145, allocations: 179.5 kB / 1.206 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.145, allocations: 0 / 1.206 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004112/1.145, allocations: 222.3 kB / 1.206 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.145, allocations: 15.56 kB / 1.206 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.145, allocations: 0 / 1.206 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.145, allocations: 1.406 kB / 1.206 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.145, allocations: 34.78 kB / 1.206 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.145, allocations: 6.406 kB / 1.206 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/1.145, allocations: 27.64 kB / 1.206 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/1.145, allocations: 7.906 kB / 1.206 GB, free: 0.8008 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.0001492/1.146, allocations: 151.8 kB / 1.206 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/1.146, allocations: 32.78 kB / 1.206 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/1.146, allocations: 209.8 kB / 1.207 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.146, allocations: 0 / 1.207 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.146, allocations: 0 / 1.207 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.146, allocations: 2.969 kB / 1.207 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.147, allocations: 0.6861 MB / 1.207 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.147, allocations: 0 / 1.207 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.147, allocations: 31.58 kB / 1.207 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.147, allocations: 2.5 kB / 1.207 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.147, allocations: 10.94 kB / 1.207 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.147, allocations: 7.25 kB / 1.207 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.147, allocations: 1.938 kB / 1.207 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/1.148, allocations: 343.7 kB / 1.208 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/1.148, allocations: 118.4 kB / 1.208 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/1.148, allocations: 10.27 kB / 1.208 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/1.148, allocations: 8.875 kB / 1.208 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.148, allocations: 17.73 kB / 1.208 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/1.148, allocations: 5.156 kB / 1.208 GB, free: 15.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000205/1.149, allocations: 229.9 kB / 1.208 GB, free: 15.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/1.149, allocations: 0 / 1.208 GB, free: 15.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003926/1.149, allocations: 76.44 kB / 1.208 GB, free: 15.32 MB / 0.92 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.0004093/1.149, allocations: 149.6 kB / 1.208 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003834/1.15, allocations: 159.8 kB / 1.208 GB, free: 15.14 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.15, allocations: 8.312 kB / 1.208 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.15, allocations: 81.2 kB / 1.209 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/1.151, allocations: 156.2 kB / 1.209 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/1.152, allocations: 0.5287 MB / 1.209 GB, free: 14.62 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/1.152, allocations: 0.7798 MB / 1.21 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001688/1.152, allocations: 62.84 kB / 1.21 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/1.152, allocations: 23 kB / 1.21 GB, free: 13.85 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/1.152, allocations: 0 / 1.21 GB, free: 13.85 MB / 0.92 GB Notification: Performance of Templates: time 0.009625/1.162, allocations: 5.109 MB / 1.215 GB, free: 11.34 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches