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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00144/0.00144, allocations: 108 kB / 15.6 MB, free: 128 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.001655/0.001655, allocations: 197.3 kB / 16.53 MB, free: 6.668 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.75 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1994/0.5421, allocations: 179.4 MB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6716/1.214, allocations: 7.818 MB / 1.251 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/1.215, allocations: 18.81 kB / 1.251 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008559/1.216, allocations: 244.7 kB / 1.251 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003627/1.219, allocations: 1.222 MB / 1.253 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/1.221, allocations: 0.7275 MB / 1.253 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001987/1.223, allocations: 1.078 MB / 1.254 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/1.224, allocations: 407.8 kB / 1.255 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/1.227, allocations: 0.8255 MB / 1.255 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/1.228, allocations: 430.1 kB / 1.256 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/1.228, allocations: 36.81 kB / 1.256 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/1.232, allocations: 0.9457 MB / 1.257 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/1.232, allocations: 161.8 kB / 1.257 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/1.233, allocations: 246.2 kB / 1.257 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/1.235, allocations: 0.924 MB / 1.258 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.235, allocations: 3.234 kB / 1.258 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.895e-06/1.235, allocations: 0 / 1.258 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.235, allocations: 1 kB / 1.258 GB, free: 5.621 MB / 0.9981 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.002109/1.238, allocations: 0.8033 MB / 1.259 GB, free: 21.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.238, allocations: 10.5 kB / 1.259 GB, free: 21.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/1.239, allocations: 154.3 kB / 1.259 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/1.24, allocations: 384.3 kB / 1.259 GB, free: 20.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.24, allocations: 26.64 kB / 1.259 GB, free: 20.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/1.24, allocations: 39.5 kB / 1.259 GB, free: 20.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.241, allocations: 443.6 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.241, allocations: 4.094 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/1.241, allocations: 25.11 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/1.241, allocations: 11.19 kB / 1.26 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009455/1.242, allocations: 320.8 kB / 1.26 GB, free: 20.72 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.003362/1.246, allocations: 2.025 MB / 1.262 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/1.246, allocations: 237.7 kB / 1.262 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/1.247, allocations: 152.3 kB / 1.263 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/1.248, allocations: 305.4 kB / 1.263 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.248, allocations: 34.92 kB / 1.263 GB, free: 19.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.866e-06/1.248, allocations: 0 / 1.263 GB, free: 19.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001458/1.249, allocations: 455.5 kB / 1.263 GB, free: 18.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/1.249, allocations: 59.3 kB / 1.263 GB, free: 18.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/1.25, allocations: 402.9 kB / 1.264 GB, free: 18.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/1.25, allocations: 27.09 kB / 1.264 GB, free: 18.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.25, allocations: 230.7 kB / 1.264 GB, free: 18.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/1.25, allocations: 83.48 kB / 1.264 GB, free: 18.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.25, allocations: 65.81 kB / 1.264 GB, free: 18.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.251, allocations: 353.7 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/1.251, allocations: 110.3 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/1.251, allocations: 185.8 kB / 1.265 GB, free: 18.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/1.252, allocations: 306.5 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.252, allocations: 0 / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009939/1.253, allocations: 369.5 kB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.253, allocations: 4.469 kB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.253, allocations: 5.734 kB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.253, allocations: 5.062 kB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/1.254, allocations: 54 kB / 1.266 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.254, allocations: 6.25 kB / 1.266 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/1.254, allocations: 46.58 kB / 1.266 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/1.254, allocations: 14.53 kB / 1.266 GB, free: 18.05 MB / 1.014 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.0002783/1.255, allocations: 167.1 kB / 1.266 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.255, allocations: 44.53 kB / 1.266 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/1.256, allocations: 366 kB / 1.266 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.256, allocations: 3.375 kB / 1.266 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.256, allocations: 0.7031 kB / 1.266 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.256, allocations: 6.109 kB / 1.266 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/1.259, allocations: 0.9389 MB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.259, allocations: 4.781 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/1.259, allocations: 45.22 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.259, allocations: 4.875 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/1.259, allocations: 7.578 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/1.259, allocations: 8.844 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.259, allocations: 3.656 kB / 1.267 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.261, allocations: 0.6259 MB / 1.268 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.261, allocations: 144.9 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.864e-05/1.261, allocations: 9.188 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/1.262, allocations: 11 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.262, allocations: 27.98 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/1.262, allocations: 8.344 kB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005148/1.262, allocations: 283.4 kB / 1.268 GB, free: 17.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.262, allocations: 0 / 1.268 GB, free: 17.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001017/1.263, allocations: 118 kB / 1.268 GB, free: 17.07 MB / 1.014 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.0007727/1.264, allocations: 174.2 kB / 1.268 GB, free: 16.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.265, allocations: 304.3 kB / 1.269 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.265, allocations: 0 / 1.269 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/1.266, allocations: 152.5 kB / 1.269 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.268, allocations: 221.5 kB / 1.269 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/1.27, allocations: 0.8145 MB / 1.27 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/1.271, allocations: 0.8291 MB / 1.271 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006519/1.272, allocations: 98.55 kB / 1.271 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.272, allocations: 35.06 kB / 1.271 GB, free: 15.85 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.272, allocations: 0.9375 kB / 1.271 GB, free: 15.85 MB / 1.014 GB Notification: Performance of Templates: time 0.03088/1.303, allocations: 7.62 MB / 1.278 GB, free: 15.56 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches