Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001236/0.001236, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.0012/0.0012, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 79.81 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8702/1.215, allocations: 179.4 MB / 1.202 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01107/1.226, allocations: 7.826 MB / 1.21 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/1.227, allocations: 20.91 kB / 1.21 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008878/1.228, allocations: 256.3 kB / 1.21 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/1.232, allocations: 1.212 MB / 1.211 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/1.234, allocations: 0.7395 MB / 1.212 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001331/1.235, allocations: 1.077 MB / 1.213 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/1.236, allocations: 408 kB / 1.213 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/1.238, allocations: 0.8275 MB / 1.214 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/1.239, allocations: 430.3 kB / 1.214 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/1.239, allocations: 41.94 kB / 1.214 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/1.241, allocations: 0.9514 MB / 1.215 GB, free: 9.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.241, allocations: 159.3 kB / 1.216 GB, free: 9.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/1.241, allocations: 245 kB / 1.216 GB, free: 9.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/1.243, allocations: 0.9375 MB / 1.217 GB, free: 8.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.243, allocations: 0 / 1.217 GB, free: 8.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/1.243, allocations: 0 / 1.217 GB, free: 8.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.411e-05/1.243, allocations: 0 / 1.217 GB, free: 8.82 MB / 0.92 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.001186/1.244, allocations: 0.8057 MB / 1.217 GB, free: 8.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.244, allocations: 10.72 kB / 1.217 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000987/1.245, allocations: 156.7 kB / 1.218 GB, free: 8.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/1.246, allocations: 402.8 kB / 1.218 GB, free: 7.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/1.246, allocations: 28.28 kB / 1.218 GB, free: 7.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/1.246, allocations: 36.81 kB / 1.218 GB, free: 7.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/1.247, allocations: 452.2 kB / 1.218 GB, free: 7.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.247, allocations: 2.281 kB / 1.218 GB, free: 7.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.247, allocations: 14.41 kB / 1.218 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/1.247, allocations: 13.91 kB / 1.219 GB, free: 7.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/1.247, allocations: 324.2 kB / 1.219 GB, free: 7.219 MB / 0.92 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.002417/1.25, allocations: 2.007 MB / 1.221 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/1.25, allocations: 230.6 kB / 1.221 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/1.25, allocations: 157.3 kB / 1.221 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/1.251, allocations: 300.1 kB / 1.221 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.251, allocations: 37.47 kB / 1.221 GB, free: 4.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/1.251, allocations: 0 / 1.221 GB, free: 4.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=24): time 0.001073/1.252, allocations: 462.9 kB / 1.222 GB, free: 4.594 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/1.252, allocations: 53.59 kB / 1.222 GB, free: 4.531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/1.253, allocations: 398.3 kB / 1.222 GB, free: 4.281 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.253, allocations: 32.14 kB / 1.222 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.253, allocations: 230.7 kB / 1.223 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/1.253, allocations: 81.19 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.253, allocations: 60.31 kB / 1.223 GB, free: 3.926 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.253, allocations: 356.2 kB / 1.223 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.253, allocations: 110.4 kB / 1.223 GB, free: 3.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/1.254, allocations: 183.1 kB / 1.223 GB, free: 3.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/1.254, allocations: 312.2 kB / 1.224 GB, free: 3.199 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.254, allocations: 4 kB / 1.224 GB, free: 3.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006297/1.255, allocations: 366.7 kB / 1.224 GB, free: 2.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.255, allocations: 4.219 kB / 1.224 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.255, allocations: 9.094 kB / 1.224 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.255, allocations: 4 kB / 1.224 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/1.255, allocations: 55.91 kB / 1.224 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.255, allocations: 4 kB / 1.224 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/1.255, allocations: 39.61 kB / 1.224 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/1.256, allocations: 12 kB / 1.224 GB, free: 2.855 MB / 0.92 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.0001813/1.256, allocations: 174.2 kB / 1.224 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/1.256, allocations: 39.53 kB / 1.224 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/1.256, allocations: 378.7 kB / 1.225 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.257, allocations: 4.031 kB / 1.225 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.257, allocations: 0 / 1.225 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.257, allocations: 0 / 1.225 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/1.258, allocations: 0.9391 MB / 1.226 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.258, allocations: 0 / 1.226 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/1.258, allocations: 51.91 kB / 1.226 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.258, allocations: 4 kB / 1.226 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.258, allocations: 16.16 kB / 1.226 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.258, allocations: 4 kB / 1.226 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.258, allocations: 0 / 1.226 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/1.259, allocations: 0.6278 MB / 1.226 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/1.259, allocations: 144.5 kB / 1.226 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/1.259, allocations: 11.98 kB / 1.226 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.26, allocations: 12 kB / 1.226 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/1.26, allocations: 20.03 kB / 1.226 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/1.26, allocations: 12 kB / 1.226 GB, free: 300 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002669/1.26, allocations: 287.1 kB / 1.227 GB, free: 16 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.273e-06/1.26, allocations: 0 / 1.227 GB, free: 16 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004852/1.261, allocations: 115.7 kB / 1.227 GB, free: 15.9 MB / 0.9356 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.0004319/1.261, allocations: 176.3 kB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000593/1.262, allocations: 291.6 kB / 1.227 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.262, allocations: 0 / 1.227 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.262, allocations: 148.7 kB / 1.227 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.263, allocations: 226.3 kB / 1.228 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.264, allocations: 0.7928 MB / 1.228 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/1.265, allocations: 0.831 MB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00026/1.265, allocations: 103.4 kB / 1.229 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/1.265, allocations: 35.38 kB / 1.229 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/1.265, allocations: 0 / 1.229 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.01341/1.278, allocations: 7.606 MB / 1.237 GB, free: 5.754 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches