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.007309/0.007308, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001492/0.001492, allocations: 202.9 kB / 16.68 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.586/2.586, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9938/1.288, allocations: 179.4 MB / 1.263 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.298, allocations: 7.832 MB / 1.271 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/1.299, allocations: 18.69 kB / 1.271 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007561/1.3, allocations: 247.9 kB / 1.271 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004475/1.304, allocations: 1.271 MB / 1.272 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/1.307, allocations: 0.736 MB / 1.273 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002116/1.309, allocations: 1.08 MB / 1.274 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/1.31, allocations: 411.2 kB / 1.274 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/1.313, allocations: 0.8628 MB / 1.275 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008274/1.314, allocations: 432.3 kB / 1.276 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/1.314, allocations: 37.78 kB / 1.276 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/1.316, allocations: 0.9522 MB / 1.277 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/1.317, allocations: 161.2 kB / 1.277 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/1.317, allocations: 248.2 kB / 1.277 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/1.319, allocations: 0.9392 MB / 1.278 GB, free: 3.316 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.319, allocations: 1.734 kB / 1.278 GB, free: 3.316 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.319, allocations: 1.156 kB / 1.278 GB, free: 3.316 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.319, allocations: 0 / 1.278 GB, free: 3.316 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.00139/1.321, allocations: 0.8271 MB / 1.279 GB, free: 2.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.321, allocations: 11.95 kB / 1.279 GB, free: 2.754 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.322, allocations: 149.7 kB / 1.279 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/1.323, allocations: 413.5 kB / 1.279 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/1.323, allocations: 28.59 kB / 1.279 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/1.323, allocations: 37.11 kB / 1.279 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/1.323, allocations: 450.2 kB / 1.28 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.323, allocations: 4.094 kB / 1.28 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/1.323, allocations: 14.34 kB / 1.28 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.324, allocations: 9.312 kB / 1.28 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/1.324, allocations: 323 kB / 1.28 GB, free: 2.379 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.002251/1.326, allocations: 2.01 MB / 1.282 GB, free: 17.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/1.327, allocations: 240.1 kB / 1.282 GB, free: 17.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/1.327, allocations: 150 kB / 1.282 GB, free: 17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/1.328, allocations: 308.5 kB / 1.283 GB, free: 16.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.328, allocations: 37.5 kB / 1.283 GB, free: 16.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/1.328, allocations: 0 / 1.283 GB, free: 16.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001078/1.329, allocations: 459.9 kB / 1.283 GB, free: 16.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.329, allocations: 60.64 kB / 1.283 GB, free: 16.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/1.329, allocations: 400.2 kB / 1.284 GB, free: 16.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/1.329, allocations: 30.33 kB / 1.284 GB, free: 16.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.33, allocations: 230.8 kB / 1.284 GB, free: 16.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/1.33, allocations: 91.59 kB / 1.284 GB, free: 16.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.33, allocations: 60.56 kB / 1.284 GB, free: 16.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.33, allocations: 347.7 kB / 1.284 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/1.33, allocations: 115.8 kB / 1.285 GB, free: 15.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/1.331, allocations: 182.6 kB / 1.285 GB, free: 15.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/1.331, allocations: 307 kB / 1.285 GB, free: 15.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.331, allocations: 1.031 kB / 1.285 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008048/1.332, allocations: 369.3 kB / 1.285 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.332, allocations: 12.22 kB / 1.285 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.332, allocations: 4.484 kB / 1.285 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.332, allocations: 3.781 kB / 1.285 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/1.332, allocations: 59.28 kB / 1.285 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.332, allocations: 8.422 kB / 1.285 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/1.333, allocations: 43.09 kB / 1.285 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.333, allocations: 14.67 kB / 1.285 GB, free: 15.68 MB / 1.029 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.0001861/1.333, allocations: 164 kB / 1.286 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/1.333, allocations: 46.88 kB / 1.286 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/1.334, allocations: 364.6 kB / 1.286 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.334, allocations: 3.578 kB / 1.286 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.334, allocations: 1.094 kB / 1.286 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.334, allocations: 7.109 kB / 1.286 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.335, allocations: 0.9502 MB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.335, allocations: 1.156 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/1.336, allocations: 51.7 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.336, allocations: 3.234 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.336, allocations: 5.484 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/1.336, allocations: 2.75 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.336, allocations: 4.469 kB / 1.287 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/1.337, allocations: 0.6311 MB / 1.288 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.337, allocations: 149.4 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/1.337, allocations: 4.156 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/1.337, allocations: 11.72 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/1.337, allocations: 28.44 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.337, allocations: 10.88 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003234/1.337, allocations: 280.7 kB / 1.288 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.338, allocations: 1.094 kB / 1.288 GB, free: 14.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005487/1.338, allocations: 112.5 kB / 1.288 GB, free: 14.69 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.000439/1.339, allocations: 175.2 kB / 1.288 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.339, allocations: 289.8 kB / 1.289 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.339, allocations: 0 / 1.289 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/1.339, allocations: 150.9 kB / 1.289 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.341, allocations: 225.5 kB / 1.289 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.342, allocations: 0.8164 MB / 1.29 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/1.343, allocations: 0.8334 MB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003458/1.343, allocations: 94.25 kB / 1.291 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.343, allocations: 34.5 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/1.343, allocations: 2.172 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of Templates: time 0.01829/1.361, allocations: 7.66 MB / 1.298 GB, free: 13.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches