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.001364/0.001364, allocations: 110 kB / 16.41 MB, free: 6.5 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.001444/0.001444, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.356/1.356, 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.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8717, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2263/1.098, allocations: 179.4 MB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01066/1.109, allocations: 7.828 MB / 1.271 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/1.11, allocations: 19.88 kB / 1.271 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009404/1.111, allocations: 254.2 kB / 1.272 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/1.114, allocations: 1.264 MB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/1.116, allocations: 0.7387 MB / 1.274 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001561/1.118, allocations: 1.08 MB / 1.275 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/1.119, allocations: 415.3 kB / 1.275 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/1.122, allocations: 0.8623 MB / 1.276 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/1.123, allocations: 426.5 kB / 1.276 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/1.123, allocations: 40 kB / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/1.125, allocations: 0.9587 MB / 1.277 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/1.125, allocations: 159.5 kB / 1.278 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/1.126, allocations: 246.8 kB / 1.278 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/1.128, allocations: 0.9388 MB / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.128, allocations: 3.938 kB / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/1.128, allocations: 0 / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.674e-05/1.128, allocations: 0 / 1.279 GB, free: 11.04 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.001407/1.129, allocations: 0.8026 MB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.129, allocations: 8.031 kB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/1.13, allocations: 159.1 kB / 1.28 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/1.131, allocations: 399.4 kB / 1.28 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/1.131, allocations: 29 kB / 1.28 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/1.131, allocations: 36 kB / 1.28 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/1.132, allocations: 450.4 kB / 1.28 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.132, allocations: 0 / 1.28 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.132, allocations: 23.92 kB / 1.28 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/1.132, allocations: 8 kB / 1.281 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/1.132, allocations: 319.7 kB / 1.281 GB, free: 8.711 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.002212/1.135, allocations: 2.008 MB / 1.283 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/1.135, allocations: 236.7 kB / 1.283 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/1.135, allocations: 154.4 kB / 1.283 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/1.136, allocations: 303.2 kB / 1.283 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.136, allocations: 38.56 kB / 1.283 GB, free: 5.742 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/1.136, allocations: 0 / 1.283 GB, free: 5.742 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001097/1.137, allocations: 460 kB / 1.284 GB, free: 5.289 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.137, allocations: 59.27 kB / 1.284 GB, free: 5.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/1.138, allocations: 401.9 kB / 1.284 GB, free: 4.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/1.138, allocations: 25.7 kB / 1.284 GB, free: 4.789 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.138, allocations: 232.2 kB / 1.285 GB, free: 4.555 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/1.138, allocations: 86.89 kB / 1.285 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/1.138, allocations: 57.61 kB / 1.285 GB, free: 4.406 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.138, allocations: 354.7 kB / 1.285 GB, free: 4.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.138, allocations: 111.9 kB / 1.285 GB, free: 3.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/1.139, allocations: 191.2 kB / 1.285 GB, free: 3.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/1.139, allocations: 298.7 kB / 1.286 GB, free: 3.414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.139, allocations: 0 / 1.286 GB, free: 3.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006615/1.14, allocations: 366.2 kB / 1.286 GB, free: 3.051 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.14, allocations: 4.219 kB / 1.286 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.14, allocations: 8 kB / 1.286 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.14, allocations: 4 kB / 1.286 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/1.14, allocations: 55.91 kB / 1.286 GB, free: 2.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.14, allocations: 11.92 kB / 1.286 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/1.141, allocations: 39.61 kB / 1.286 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.141, allocations: 12 kB / 1.286 GB, free: 2.918 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.0001825/1.141, allocations: 165.7 kB / 1.286 GB, free: 2.746 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/1.141, allocations: 51.42 kB / 1.286 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/1.142, allocations: 367 kB / 1.287 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.142, allocations: 0 / 1.287 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.142, allocations: 0 / 1.287 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.142, allocations: 3.984 kB / 1.287 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/1.143, allocations: 0.937 MB / 1.288 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.143, allocations: 0 / 1.288 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/1.143, allocations: 51.91 kB / 1.288 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.143, allocations: 8.156 kB / 1.288 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/1.143, allocations: 12 kB / 1.288 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.143, allocations: 4 kB / 1.288 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.143, allocations: 0 / 1.288 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/1.144, allocations: 0.624 MB / 1.288 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/1.145, allocations: 148.5 kB / 1.288 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/1.145, allocations: 8 kB / 1.288 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.145, allocations: 19.92 kB / 1.288 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/1.145, allocations: 24.02 kB / 1.288 GB, free: 376 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.145, allocations: 19.98 kB / 1.288 GB, free: 356 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003223/1.145, allocations: 275.1 kB / 1.289 GB, free: 80 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.145, allocations: 4 kB / 1.289 GB, free: 76 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005749/1.146, allocations: 115.7 kB / 1.289 GB, free: 15.96 MB / 1.029 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.0004836/1.146, allocations: 167.4 kB / 1.289 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007376/1.147, allocations: 293.5 kB / 1.289 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.147, allocations: 0 / 1.289 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/1.147, allocations: 148.7 kB / 1.289 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.149, allocations: 221.8 kB / 1.29 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/1.15, allocations: 0.8487 MB / 1.29 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/1.151, allocations: 0.8233 MB / 1.291 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/1.151, allocations: 43.42 kB / 1.291 GB, free: 13.35 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.151, allocations: 0 / 1.291 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Templates: time 0.0121/1.163, allocations: 6.834 MB / 1.298 GB, free: 6.598 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