Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008676, allocations: 91.92 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.001023/0.001023, 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.285 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.462/2.462, allocations: 390.9 MB / 0.667 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7423, allocations: 142.4 MB / 0.9557 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1987/0.9411, allocations: 174.8 MB / 1.126 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.9526, allocations: 7.744 MB / 1.134 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009247/0.9536, allocations: 19.88 kB / 1.134 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.9546, allocations: 190.8 kB / 1.134 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.9584, allocations: 1.144 MB / 1.135 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.9604, allocations: 0.6698 MB / 1.136 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.9623, allocations: 1.528 MB / 1.137 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007514/0.9631, allocations: 353.8 kB / 1.138 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.9661, allocations: 0.7481 MB / 1.139 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.967, allocations: 450.3 kB / 1.139 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.9671, allocations: 20 kB / 1.139 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.9693, allocations: 1.087 MB / 1.14 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.9695, allocations: 135.6 kB / 1.14 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.9699, allocations: 260.4 kB / 1.14 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.9711, allocations: 0.647 MB / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9711, allocations: 0 / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9711, allocations: 0 / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.9712, allocations: 0 / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001318/0.9725, allocations: 0.7363 MB / 1.142 GB, free: 52 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9725, allocations: 8.031 kB / 1.142 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9736, allocations: 155.3 kB / 1.142 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.9742, allocations: 379.4 kB / 1.142 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.9742, allocations: 25 kB / 1.142 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.9743, allocations: 43.98 kB / 1.142 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.9751, allocations: 458.4 kB / 1.143 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.9751, allocations: 3.938 kB / 1.143 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.9751, allocations: 19.94 kB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.9752, allocations: 8 kB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.9758, allocations: 339.7 kB / 1.143 GB, free: 14.58 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.002274/0.9781, allocations: 2.008 MB / 1.145 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.9785, allocations: 238.5 kB / 1.145 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.9788, allocations: 161.2 kB / 1.146 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.9794, allocations: 319.1 kB / 1.146 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.9795, allocations: 38.5 kB / 1.146 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.9795, allocations: 0 / 1.146 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001055/0.9805, allocations: 471.1 kB / 1.146 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9806, allocations: 55.41 kB / 1.146 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.981, allocations: 397.9 kB / 1.147 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.9811, allocations: 33.7 kB / 1.147 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.9812, allocations: 232.2 kB / 1.147 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.9813, allocations: 82.75 kB / 1.147 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.9814, allocations: 29.7 kB / 1.147 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9815, allocations: 354.7 kB / 1.147 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.9818, allocations: 115.9 kB / 1.148 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.9821, allocations: 199.2 kB / 1.148 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.9826, allocations: 313.1 kB / 1.148 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9826, allocations: 4 kB / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006627/0.9833, allocations: 376.7 kB / 1.148 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9833, allocations: 9.625 kB / 1.148 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.9833, allocations: 0 / 1.148 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9833, allocations: 4 kB / 1.148 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.9836, allocations: 59.91 kB / 1.148 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9836, allocations: 4 kB / 1.148 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.9839, allocations: 59.5 kB / 1.149 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.984, allocations: 16 kB / 1.149 GB, free: 8.715 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001874/0.9842, allocations: 165.7 kB / 1.149 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.9843, allocations: 39.58 kB / 1.149 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007276/0.985, allocations: 386.2 kB / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.985, allocations: 0 / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.985, allocations: 0 / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.985, allocations: 7.984 kB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.9865, allocations: 0.9448 MB / 1.15 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.9865, allocations: 4.219 kB / 1.15 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.9868, allocations: 51.92 kB / 1.15 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.9868, allocations: 11.88 kB / 1.15 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.9868, allocations: 11.98 kB / 1.15 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.9868, allocations: 4 kB / 1.15 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9869, allocations: 4 kB / 1.15 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.9878, allocations: 0.6427 MB / 1.151 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.988, allocations: 152.5 kB / 1.151 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.9881, allocations: 8 kB / 1.151 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.9884, allocations: 28.05 kB / 1.151 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.9884, allocations: 19.91 kB / 1.151 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.9885, allocations: 12 kB / 1.151 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003042/0.9888, allocations: 283.1 kB / 1.151 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9888, allocations: 0 / 1.151 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004773/0.9893, allocations: 115.8 kB / 1.151 GB, free: 5.707 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.000428/0.9897, allocations: 173 kB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00063/0.9903, allocations: 296.9 kB / 1.152 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9903, allocations: 0 / 1.152 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.9906, allocations: 157.7 kB / 1.152 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.9919, allocations: 212.7 kB / 1.152 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.9933, allocations: 1.013 MB / 1.153 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.9938, allocations: 0.8353 MB / 1.154 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.9939, allocations: 35.44 kB / 1.154 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.9939, allocations: 0 / 1.154 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of Templates: time 0.01193/1.006, allocations: 6.734 MB / 1.161 GB, free: 12.26 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches