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.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.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.001614/0.001614, allocations: 109.2 kB / 16.41 MB, free: 6.492 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.001837/0.001837, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 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.258/2.258, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.88 kB / 0.9516 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9608/0.962, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2192/1.181, allocations: 179.4 MB / 1.264 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01079/1.192, allocations: 7.83 MB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/1.193, allocations: 19.88 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009393/1.194, allocations: 246.2 kB / 1.272 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/1.198, allocations: 1.225 MB / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/1.2, allocations: 0.7292 MB / 1.274 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001904/1.202, allocations: 1.076 MB / 1.275 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/1.203, allocations: 407.4 kB / 1.275 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/1.206, allocations: 0.845 MB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009482/1.207, allocations: 434.5 kB / 1.276 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/1.207, allocations: 36 kB / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/1.209, allocations: 0.9432 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/1.209, allocations: 167.4 kB / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/1.21, allocations: 242.8 kB / 1.278 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/1.212, allocations: 0.9426 MB / 1.279 GB, free: 11.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.212, allocations: 0 / 1.279 GB, free: 11.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/1.212, allocations: 0 / 1.279 GB, free: 11.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.176e-05/1.212, allocations: 4 kB / 1.279 GB, free: 11.18 MB / 1.014 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.001584/1.213, allocations: 0.7949 MB / 1.279 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.213, allocations: 12.03 kB / 1.279 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.215, allocations: 159.1 kB / 1.28 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/1.215, allocations: 399.4 kB / 1.28 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/1.215, allocations: 32.92 kB / 1.28 GB, free: 9.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/1.215, allocations: 40 kB / 1.28 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/1.216, allocations: 450.4 kB / 1.28 GB, free: 9.199 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.216, allocations: 4 kB / 1.28 GB, free: 9.195 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/1.216, allocations: 15.94 kB / 1.28 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.216, allocations: 12 kB / 1.28 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/1.217, allocations: 315.7 kB / 1.281 GB, free: 8.859 MB / 1.014 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.002417/1.219, allocations: 2.012 MB / 1.283 GB, free: 6.676 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/1.22, allocations: 238.5 kB / 1.283 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/1.22, allocations: 148.8 kB / 1.283 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/1.221, allocations: 315.2 kB / 1.283 GB, free: 5.922 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/1.221, allocations: 34.56 kB / 1.283 GB, free: 5.879 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/1.221, allocations: 0 / 1.283 GB, free: 5.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001079/1.222, allocations: 454.5 kB / 1.284 GB, free: 5.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.222, allocations: 67.19 kB / 1.284 GB, free: 5.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/1.222, allocations: 398 kB / 1.284 GB, free: 4.957 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/1.222, allocations: 29.7 kB / 1.284 GB, free: 4.922 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.222, allocations: 232.2 kB / 1.285 GB, free: 4.688 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/1.223, allocations: 74.91 kB / 1.285 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/1.223, allocations: 61.61 kB / 1.285 GB, free: 4.547 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.223, allocations: 354.7 kB / 1.285 GB, free: 4.191 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/1.223, allocations: 111.9 kB / 1.285 GB, free: 4.082 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/1.223, allocations: 187.3 kB / 1.285 GB, free: 3.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/1.224, allocations: 305.1 kB / 1.286 GB, free: 3.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.224, allocations: 0 / 1.286 GB, free: 3.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006494/1.225, allocations: 370.8 kB / 1.286 GB, free: 3.188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.225, allocations: 8 kB / 1.286 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.225, allocations: 0 / 1.286 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.225, allocations: 4 kB / 1.286 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.225, allocations: 55.91 kB / 1.286 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.225, allocations: 4 kB / 1.286 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/1.225, allocations: 39.61 kB / 1.286 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/1.225, allocations: 20.22 kB / 1.286 GB, free: 3.059 MB / 1.014 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.0002046/1.225, allocations: 169.7 kB / 1.286 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/1.226, allocations: 39.44 kB / 1.286 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/1.226, allocations: 369 kB / 1.287 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.226, allocations: 4 kB / 1.287 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.226, allocations: 0 / 1.287 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.226, allocations: 0 / 1.287 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/1.228, allocations: 0.9357 MB / 1.288 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.228, allocations: 11.97 kB / 1.288 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.228, allocations: 51.91 kB / 1.288 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.228, allocations: 3.938 kB / 1.288 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.228, allocations: 8 kB / 1.288 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/1.228, allocations: 4 kB / 1.288 GB, free: 1.387 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.228, allocations: 4 kB / 1.288 GB, free: 1.383 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/1.229, allocations: 0.6231 MB / 1.288 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/1.229, allocations: 152.5 kB / 1.288 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/1.229, allocations: 11.94 kB / 1.288 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/1.229, allocations: 11.98 kB / 1.288 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/1.23, allocations: 15.97 kB / 1.288 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/1.23, allocations: 12 kB / 1.288 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002778/1.23, allocations: 283.1 kB / 1.289 GB, free: 232 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.23, allocations: 0 / 1.289 GB, free: 232 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004623/1.23, allocations: 115.7 kB / 1.289 GB, free: 116 kB / 1.014 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.0004454/1.231, allocations: 168.9 kB / 1.289 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006078/1.231, allocations: 296 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.231, allocations: 4.062 kB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/1.232, allocations: 147.8 kB / 1.289 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.233, allocations: 218.6 kB / 1.29 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.234, allocations: 0.8428 MB / 1.29 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/1.235, allocations: 0.8233 MB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.235, allocations: 43.42 kB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.235, allocations: 0 / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Templates: time 0.01153/1.246, allocations: 6.827 MB / 1.298 GB, free: 6.754 MB / 1.029 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