Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008745/0.0008745, allocations: 92.16 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.001055/0.001055, allocations: 173 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.81, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1871/0.9971, allocations: 163.2 MB / 1.183 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007929/1.005, allocations: 6.459 MB / 1.189 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/1.006, allocations: 11.88 kB / 1.189 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/1.006, allocations: 135.1 kB / 1.189 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/1.008, allocations: 0.7938 MB / 1.19 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/1.009, allocations: 286.4 kB / 1.191 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001117/1.01, allocations: 1.01 MB / 1.192 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/1.011, allocations: 226.1 kB / 1.192 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/1.012, allocations: 0.5059 MB / 1.192 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/1.012, allocations: 274.9 kB / 1.192 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/1.012, allocations: 12 kB / 1.192 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007469/1.013, allocations: 395 kB / 1.193 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.013, allocations: 95.66 kB / 1.193 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/1.014, allocations: 180.9 kB / 1.193 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/1.014, allocations: 327.2 kB / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.014, allocations: 0 / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/1.014, allocations: 0 / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.014, allocations: 0 / 1.193 GB, free: 1.375 MB / 0.9356 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.0008/1.015, allocations: 0.5611 MB / 1.194 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.015, allocations: 8.031 kB / 1.194 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/1.015, allocations: 71.42 kB / 1.194 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/1.016, allocations: 305.3 kB / 1.194 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.016, allocations: 20.56 kB / 1.194 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/1.016, allocations: 24 kB / 1.194 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/1.016, allocations: 323.7 kB / 1.195 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.016, allocations: 0 / 1.195 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/1.016, allocations: 12 kB / 1.195 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.016, allocations: 8 kB / 1.195 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/1.017, allocations: 221.4 kB / 1.195 GB, free: 15.73 MB / 0.9512 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.001578/1.018, allocations: 1.542 MB / 1.196 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/1.019, allocations: 118.5 kB / 1.197 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/1.019, allocations: 100.8 kB / 1.197 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/1.019, allocations: 323.2 kB / 1.197 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.019, allocations: 30.56 kB / 1.197 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.915e-06/1.019, allocations: 0 / 1.197 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008242/1.02, allocations: 301.3 kB / 1.197 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.02, allocations: 51.41 kB / 1.197 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/1.021, allocations: 308.6 kB / 1.198 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/1.021, allocations: 25.7 kB / 1.198 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.021, allocations: 196 kB / 1.198 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/1.021, allocations: 43.45 kB / 1.198 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/1.021, allocations: 17.72 kB / 1.198 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.021, allocations: 334.8 kB / 1.198 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.021, allocations: 67.86 kB / 1.198 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/1.021, allocations: 117.1 kB / 1.198 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/1.022, allocations: 192.9 kB / 1.199 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.022, allocations: 0 / 1.199 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004335/1.022, allocations: 229.1 kB / 1.199 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.022, allocations: 9.562 kB / 1.199 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.022, allocations: 0 / 1.199 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.022, allocations: 4 kB / 1.199 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.023, allocations: 31.98 kB / 1.199 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.023, allocations: 12.08 kB / 1.199 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.023, allocations: 39.78 kB / 1.199 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/1.023, allocations: 8 kB / 1.199 GB, free: 11.37 MB / 0.9512 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.0001523/1.023, allocations: 153.8 kB / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/1.023, allocations: 23.72 kB / 1.199 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/1.023, allocations: 225.3 kB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.024, allocations: 0 / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.024, allocations: 4 kB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.024, allocations: 0 / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.025, allocations: 0.6913 MB / 1.2 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.025, allocations: 8.062 kB / 1.2 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.025, allocations: 31.92 kB / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/1.025, allocations: 4 kB / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.025, allocations: 11.92 kB / 1.2 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.025, allocations: 4 kB / 1.2 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.025, allocations: 4 kB / 1.2 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/1.025, allocations: 352.5 kB / 1.2 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.025, allocations: 112.8 kB / 1.2 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.025, allocations: 11.94 kB / 1.2 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/1.026, allocations: 23.92 kB / 1.2 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/1.026, allocations: 15.98 kB / 1.201 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/1.026, allocations: 4 kB / 1.201 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002005/1.026, allocations: 227 kB / 1.201 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.026, allocations: 0 / 1.201 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003843/1.026, allocations: 67.91 kB / 1.201 GB, free: 9.281 MB / 0.9512 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.0003765/1.027, allocations: 160.7 kB / 1.201 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004125/1.027, allocations: 167.8 kB / 1.201 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.027, allocations: 0 / 1.201 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.027, allocations: 88.64 kB / 1.201 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/1.028, allocations: 140.3 kB / 1.201 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/1.029, allocations: 0.6824 MB / 1.202 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.029, allocations: 0.7876 MB / 1.203 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/1.03, allocations: 23.44 kB / 1.203 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/1.03, allocations: 0 / 1.203 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of Templates: time 0.007317/1.037, allocations: 4.497 MB / 1.207 GB, free: 2.699 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches