Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002066/0.002066, allocations: 108 kB / 15.6 MB, free: 132 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.002476/0.002476, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 63.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6667, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2199/0.8867, allocations: 179.4 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.8976, allocations: 7.837 MB / 1.2 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.8983, allocations: 15.94 kB / 1.2 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.899, allocations: 246.2 kB / 1.2 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.9026, allocations: 1.225 MB / 1.202 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.9045, allocations: 0.7202 MB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.906, allocations: 1.072 MB / 1.203 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.9067, allocations: 417.3 kB / 1.204 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.9093, allocations: 0.8311 MB / 1.205 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/0.91, allocations: 442.4 kB / 1.205 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.9101, allocations: 40 kB / 1.205 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.9123, allocations: 0.9393 MB / 1.206 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.9126, allocations: 159.5 kB / 1.206 GB, free: 464 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.9131, allocations: 250.8 kB / 1.206 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.9158, allocations: 0.9155 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.9158, allocations: 4 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9159, allocations: 3.938 kB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9159, allocations: 0 / 1.207 GB, free: 15.28 MB / 0.9669 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.001626/0.9175, allocations: 0.8119 MB / 1.208 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9176, allocations: 11.98 kB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.9187, allocations: 147.3 kB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.9194, allocations: 391.3 kB / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.9194, allocations: 25 kB / 1.209 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.9195, allocations: 40 kB / 1.209 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.9204, allocations: 446.4 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.9204, allocations: 4 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.9205, allocations: 15.94 kB / 1.209 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.9205, allocations: 12 kB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.9212, allocations: 319.7 kB / 1.209 GB, free: 12.97 MB / 0.9669 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.002674/0.9238, allocations: 2.019 MB / 1.211 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.9243, allocations: 246.4 kB / 1.212 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.9246, allocations: 144.8 kB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.9253, allocations: 303.2 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.9253, allocations: 42.56 kB / 1.212 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.9253, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001094/0.9264, allocations: 451.1 kB / 1.212 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.9265, allocations: 55.34 kB / 1.213 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.9269, allocations: 405.9 kB / 1.213 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.927, allocations: 29.7 kB / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.9272, allocations: 228.3 kB / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.9273, allocations: 86.8 kB / 1.213 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.9274, allocations: 53.64 kB / 1.213 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.9276, allocations: 354.7 kB / 1.214 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.9279, allocations: 111.9 kB / 1.214 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.9282, allocations: 186.8 kB / 1.214 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.9288, allocations: 305.3 kB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9288, allocations: 4 kB / 1.214 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007096/0.9295, allocations: 368.7 kB / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9296, allocations: 4 kB / 1.215 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.9296, allocations: 4 kB / 1.215 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.9296, allocations: 4 kB / 1.215 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.9299, allocations: 55.91 kB / 1.215 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.9299, allocations: 3.984 kB / 1.215 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.9302, allocations: 39.62 kB / 1.215 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.9302, allocations: 16.17 kB / 1.215 GB, free: 7.16 MB / 0.9669 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.0002014/0.9305, allocations: 169.7 kB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.9305, allocations: 39.53 kB / 1.215 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.9313, allocations: 366.8 kB / 1.215 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.9313, allocations: 4 kB / 1.215 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9313, allocations: 0 / 1.215 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.9314, allocations: 0 / 1.215 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.933, allocations: 0.9465 MB / 1.216 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.933, allocations: 0 / 1.216 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.9332, allocations: 47.97 kB / 1.216 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.9333, allocations: 7.938 kB / 1.216 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.9333, allocations: 7.938 kB / 1.216 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.9333, allocations: 7.984 kB / 1.216 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9333, allocations: 0 / 1.216 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.9343, allocations: 0.6316 MB / 1.217 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.9345, allocations: 156.6 kB / 1.217 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.9346, allocations: 8 kB / 1.217 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.9348, allocations: 7.984 kB / 1.217 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.9349, allocations: 19.98 kB / 1.217 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.9349, allocations: 8 kB / 1.217 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003403/0.9353, allocations: 279.1 kB / 1.217 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9353, allocations: 3.938 kB / 1.217 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005498/0.9358, allocations: 123.7 kB / 1.217 GB, free: 4.211 MB / 0.9669 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.0004949/0.9363, allocations: 166.4 kB / 1.218 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007174/0.9371, allocations: 306.2 kB / 1.218 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9371, allocations: 4 kB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.9374, allocations: 147.8 kB / 1.218 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.9385, allocations: 219.6 kB / 1.218 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.9401, allocations: 0.8195 MB / 1.219 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.9406, allocations: 0.8311 MB / 1.22 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.941, allocations: 99.41 kB / 1.22 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.9411, allocations: 31.44 kB / 1.22 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.9411, allocations: 0 / 1.22 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Templates: time 0.0161/0.9572, allocations: 7.603 MB / 1.227 GB, free: 10.05 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches