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.01069/0.01069, allocations: 102 kB / 15.73 MB, free: 6.039 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.001628/0.001628, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.478/2.478, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.16 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3039, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.966/1.27, allocations: 179.4 MB / 1.263 GB, free: 3.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01012/1.28, allocations: 7.825 MB / 1.271 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/1.281, allocations: 22.69 kB / 1.271 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007672/1.282, allocations: 245.7 kB / 1.271 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/1.286, allocations: 1.223 MB / 1.272 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/1.289, allocations: 0.7366 MB / 1.273 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002022/1.291, allocations: 1.074 MB / 1.274 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/1.292, allocations: 407.7 kB / 1.274 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/1.295, allocations: 0.836 MB / 1.275 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/1.296, allocations: 431.9 kB / 1.276 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/1.296, allocations: 39.2 kB / 1.276 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/1.299, allocations: 0.9473 MB / 1.277 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/1.299, allocations: 160 kB / 1.277 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004911/1.3, allocations: 246 kB / 1.277 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/1.303, allocations: 0.9375 MB / 1.278 GB, free: 3.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.303, allocations: 3.188 kB / 1.278 GB, free: 3.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.303, allocations: 1.531 kB / 1.278 GB, free: 3.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.303, allocations: 0 / 1.278 GB, free: 3.359 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.001444/1.304, allocations: 0.7971 MB / 1.279 GB, free: 2.812 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.304, allocations: 10.88 kB / 1.279 GB, free: 2.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.305, allocations: 155.1 kB / 1.279 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/1.306, allocations: 410.4 kB / 1.279 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/1.306, allocations: 31.16 kB / 1.279 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/1.306, allocations: 39.25 kB / 1.279 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/1.307, allocations: 447.6 kB / 1.28 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.307, allocations: 2.094 kB / 1.28 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/1.307, allocations: 17.81 kB / 1.28 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.307, allocations: 9.969 kB / 1.28 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/1.308, allocations: 319.6 kB / 1.28 GB, free: 2.441 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.002643/1.31, allocations: 2.007 MB / 1.282 GB, free: 17.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/1.311, allocations: 240.5 kB / 1.282 GB, free: 17.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/1.311, allocations: 150.5 kB / 1.282 GB, free: 17.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/1.312, allocations: 306.3 kB / 1.283 GB, free: 16.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.312, allocations: 43.62 kB / 1.283 GB, free: 16.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.364e-06/1.312, allocations: 3.938 kB / 1.283 GB, free: 16.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001227/1.313, allocations: 457.4 kB / 1.283 GB, free: 16.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.313, allocations: 57.89 kB / 1.283 GB, free: 16.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/1.314, allocations: 398.9 kB / 1.284 GB, free: 16.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.314, allocations: 27.92 kB / 1.284 GB, free: 16.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.314, allocations: 235 kB / 1.284 GB, free: 16.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/1.314, allocations: 77.48 kB / 1.284 GB, free: 16.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.314, allocations: 63.16 kB / 1.284 GB, free: 16.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.314, allocations: 353.2 kB / 1.284 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/1.315, allocations: 108.8 kB / 1.284 GB, free: 15.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/1.315, allocations: 191.1 kB / 1.285 GB, free: 15.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/1.316, allocations: 304.5 kB / 1.285 GB, free: 15.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.316, allocations: 1.094 kB / 1.285 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008487/1.317, allocations: 363.3 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.317, allocations: 11.11 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.317, allocations: 2.922 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.317, allocations: 3.828 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.317, allocations: 59.61 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.317, allocations: 7.516 kB / 1.285 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/1.317, allocations: 45.25 kB / 1.285 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/1.317, allocations: 12.19 kB / 1.285 GB, free: 15.75 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.0002303/1.318, allocations: 163 kB / 1.285 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/1.318, allocations: 50.92 kB / 1.286 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/1.319, allocations: 365.2 kB / 1.286 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.319, allocations: 4.094 kB / 1.286 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.319, allocations: 0.8438 kB / 1.286 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.319, allocations: 1.219 kB / 1.286 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.32, allocations: 0.9396 MB / 1.287 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.32, allocations: 6.625 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/1.321, allocations: 49.09 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.321, allocations: 3.625 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/1.321, allocations: 8.469 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.321, allocations: 3.375 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.321, allocations: 3.562 kB / 1.287 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.322, allocations: 0.6296 MB / 1.288 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/1.322, allocations: 144.1 kB / 1.288 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/1.322, allocations: 8.328 kB / 1.288 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/1.322, allocations: 15.09 kB / 1.288 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/1.322, allocations: 24.22 kB / 1.288 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.322, allocations: 7.562 kB / 1.288 GB, free: 14.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003745/1.323, allocations: 285.5 kB / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.323, allocations: 0 / 1.288 GB, free: 14.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006783/1.323, allocations: 118.8 kB / 1.288 GB, free: 14.77 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.000479/1.324, allocations: 176.6 kB / 1.288 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007412/1.325, allocations: 293.7 kB / 1.289 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.325, allocations: 0 / 1.289 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.325, allocations: 154.5 kB / 1.289 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.326, allocations: 217.1 kB / 1.289 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.328, allocations: 0.7973 MB / 1.29 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/1.328, allocations: 0.8297 MB / 1.29 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004493/1.329, allocations: 102.3 kB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.329, allocations: 34.2 kB / 1.291 GB, free: 13.53 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.329, allocations: 0.8438 kB / 1.291 GB, free: 13.53 MB / 1.029 GB Notification: Performance of Templates: time 0.02056/1.35, allocations: 7.791 MB / 1.298 GB, free: 13.15 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