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.001655/0.001655, allocations: 112.5 kB / 15.73 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.001734/0.001734, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.466/1.466, allocations: 222.9 MB / 240.3 MB, free: 4.344 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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.81 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9909/1.324, allocations: 179.4 MB / 1.263 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01016/1.334, allocations: 7.828 MB / 1.271 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007531/1.335, allocations: 19.25 kB / 1.271 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/1.336, allocations: 252.2 kB / 1.271 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/1.34, allocations: 1.264 MB / 1.272 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/1.342, allocations: 0.7449 MB / 1.273 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001936/1.344, allocations: 1.08 MB / 1.274 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/1.345, allocations: 412.5 kB / 1.274 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/1.348, allocations: 0.8501 MB / 1.275 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/1.35, allocations: 444 kB / 1.276 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/1.35, allocations: 38 kB / 1.276 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/1.353, allocations: 0.9525 MB / 1.277 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/1.353, allocations: 158 kB / 1.277 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000831/1.354, allocations: 242.7 kB / 1.277 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/1.357, allocations: 0.9411 MB / 1.278 GB, free: 3.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.357, allocations: 1.094 kB / 1.278 GB, free: 3.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/1.357, allocations: 0 / 1.278 GB, free: 3.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.548e-05/1.357, allocations: 1.438 kB / 1.278 GB, free: 3.34 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.001541/1.359, allocations: 0.8001 MB / 1.279 GB, free: 2.797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.359, allocations: 13 kB / 1.279 GB, free: 2.797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.36, allocations: 156.6 kB / 1.279 GB, free: 2.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/1.361, allocations: 403.8 kB / 1.279 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/1.361, allocations: 30.55 kB / 1.279 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/1.361, allocations: 38.09 kB / 1.279 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/1.362, allocations: 447.7 kB / 1.28 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.362, allocations: 0.9688 kB / 1.28 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/1.362, allocations: 14.44 kB / 1.28 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.362, allocations: 9.875 kB / 1.28 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/1.362, allocations: 321.5 kB / 1.28 GB, free: 2.426 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.002336/1.365, allocations: 2.014 MB / 1.282 GB, free: 17.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/1.365, allocations: 234.1 kB / 1.282 GB, free: 17.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/1.365, allocations: 147.4 kB / 1.282 GB, free: 17.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/1.366, allocations: 309.3 kB / 1.283 GB, free: 16.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.366, allocations: 41.31 kB / 1.283 GB, free: 16.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/1.366, allocations: 0 / 1.283 GB, free: 16.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.00108/1.367, allocations: 457.2 kB / 1.283 GB, free: 16.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.367, allocations: 60.05 kB / 1.283 GB, free: 16.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/1.368, allocations: 395.1 kB / 1.284 GB, free: 16.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.368, allocations: 32.83 kB / 1.284 GB, free: 16.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/1.368, allocations: 234.5 kB / 1.284 GB, free: 16.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/1.368, allocations: 77 kB / 1.284 GB, free: 16.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/1.368, allocations: 64.09 kB / 1.284 GB, free: 16.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.368, allocations: 350.9 kB / 1.284 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/1.369, allocations: 110.4 kB / 1.284 GB, free: 15.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/1.369, allocations: 189.2 kB / 1.285 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/1.37, allocations: 304.7 kB / 1.285 GB, free: 15.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.37, allocations: 1.406 kB / 1.285 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007835/1.37, allocations: 363.5 kB / 1.285 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.37, allocations: 17.2 kB / 1.285 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.37, allocations: 4.297 kB / 1.285 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.37, allocations: 2.562 kB / 1.285 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/1.371, allocations: 59.55 kB / 1.285 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.371, allocations: 10.31 kB / 1.285 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/1.371, allocations: 44.27 kB / 1.285 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/1.371, allocations: 10.72 kB / 1.285 GB, free: 15.74 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.0001865/1.371, allocations: 164.2 kB / 1.286 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/1.371, allocations: 47.47 kB / 1.286 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/1.372, allocations: 368.8 kB / 1.286 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.372, allocations: 3.719 kB / 1.286 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.372, allocations: 1.984 kB / 1.286 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.372, allocations: 2.469 kB / 1.286 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.374, allocations: 0.9378 MB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.374, allocations: 2.344 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/1.374, allocations: 47.28 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.374, allocations: 3.906 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/1.374, allocations: 7.828 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.374, allocations: 4.469 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.374, allocations: 9.875 kB / 1.287 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/1.375, allocations: 0.6278 MB / 1.288 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/1.375, allocations: 144.3 kB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/1.375, allocations: 8.625 kB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.375, allocations: 12.78 kB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/1.375, allocations: 23.62 kB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/1.375, allocations: 8.406 kB / 1.288 GB, free: 14.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003178/1.376, allocations: 283.5 kB / 1.288 GB, free: 14.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.376, allocations: 0 / 1.288 GB, free: 14.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005576/1.376, allocations: 115.3 kB / 1.288 GB, free: 14.75 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.0004531/1.377, allocations: 177.5 kB / 1.288 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000659/1.377, allocations: 294.7 kB / 1.289 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.377, allocations: 4.938 kB / 1.289 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/1.378, allocations: 150.1 kB / 1.289 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.379, allocations: 219.3 kB / 1.289 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.38, allocations: 0.7956 MB / 1.29 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/1.381, allocations: 0.8297 MB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003518/1.381, allocations: 99.11 kB / 1.291 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.381, allocations: 34.98 kB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/1.381, allocations: 0.8125 kB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Templates: time 0.01832/1.4, allocations: 7.664 MB / 1.298 GB, free: 13.18 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