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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001726/0.001727, allocations: 197.1 kB / 16.14 MB, free: 6.719 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6643 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5577, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1721/0.7299, allocations: 177.2 MB / 1.122 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008715/0.7386, allocations: 7.858 MB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.7392, allocations: 19.88 kB / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.7399, allocations: 186.8 kB / 1.13 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.7425, allocations: 1.14 MB / 1.131 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.7441, allocations: 0.6699 MB / 1.132 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.7457, allocations: 1.548 MB / 1.133 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.7463, allocations: 350.2 kB / 1.134 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.7487, allocations: 0.7532 MB / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.7495, allocations: 454.3 kB / 1.135 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.841e-05/0.7496, allocations: 28 kB / 1.135 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.7513, allocations: 1.087 MB / 1.136 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.7515, allocations: 155.5 kB / 1.136 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.7518, allocations: 230.8 kB / 1.136 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.7532, allocations: 0.9776 MB / 1.137 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7532, allocations: 0 / 1.137 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7532, allocations: 3.938 kB / 1.137 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.7532, allocations: 0 / 1.137 GB, free: 0.8477 MB / 0.8887 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.001159/0.7544, allocations: 0.7988 MB / 1.138 GB, free: 0 / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7544, allocations: 12.08 kB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/0.7545, allocations: 82.41 kB / 1.138 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.7555, allocations: 151.3 kB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.756, allocations: 387.2 kB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.7561, allocations: 29 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.7561, allocations: 36 kB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.7568, allocations: 450.4 kB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.7569, allocations: 0 / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.7569, allocations: 19.94 kB / 1.139 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.7569, allocations: 8 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.7575, allocations: 323.7 kB / 1.139 GB, free: 14.46 MB / 0.9044 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.002061/0.7596, allocations: 2.012 MB / 1.141 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.76, allocations: 238.4 kB / 1.142 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.7603, allocations: 153.2 kB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.7609, allocations: 303.1 kB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7609, allocations: 38.55 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.7609, allocations: 8 kB / 1.142 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.0009952/0.7619, allocations: 451.8 kB / 1.142 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.762, allocations: 51.41 kB / 1.142 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.7624, allocations: 409.8 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.7624, allocations: 25.7 kB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.7625, allocations: 232.3 kB / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.7626, allocations: 82.8 kB / 1.143 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.7627, allocations: 53.7 kB / 1.143 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7628, allocations: 358.7 kB / 1.144 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.7631, allocations: 107.9 kB / 1.144 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.7633, allocations: 187.3 kB / 1.144 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.7638, allocations: 303.4 kB / 1.144 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7638, allocations: 0 / 1.144 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006181/0.7645, allocations: 362.2 kB / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7645, allocations: 15.98 kB / 1.145 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7645, allocations: 48 / 1.145 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7645, allocations: 7.984 kB / 1.145 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.7648, allocations: 55.91 kB / 1.145 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7648, allocations: 4 kB / 1.145 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.7651, allocations: 55.5 kB / 1.145 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.7652, allocations: 23.98 kB / 1.145 GB, free: 8.637 MB / 0.9044 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.0001713/0.7654, allocations: 165.7 kB / 1.145 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.7654, allocations: 35.53 kB / 1.145 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.7662, allocations: 374.1 kB / 1.145 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7662, allocations: 4 kB / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7662, allocations: 0 / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7662, allocations: 4 kB / 1.145 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.7676, allocations: 0.9351 MB / 1.146 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.7676, allocations: 7.984 kB / 1.146 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.7679, allocations: 47.92 kB / 1.146 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7679, allocations: 3.938 kB / 1.146 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.7679, allocations: 8 kB / 1.146 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7679, allocations: 7.984 kB / 1.146 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7679, allocations: 4 kB / 1.146 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.7688, allocations: 0.6314 MB / 1.147 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.769, allocations: 152.5 kB / 1.147 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.7691, allocations: 8 kB / 1.147 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.7693, allocations: 19.92 kB / 1.147 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.7694, allocations: 24.03 kB / 1.147 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7694, allocations: 12 kB / 1.147 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002812/0.7697, allocations: 283.1 kB / 1.147 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7697, allocations: 0 / 1.147 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004625/0.7702, allocations: 119.7 kB / 1.147 GB, free: 5.676 MB / 0.9044 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.001416/0.7716, allocations: 1.234 MB / 1.149 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000564/0.7722, allocations: 279.7 kB / 1.149 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7722, allocations: 0 / 1.149 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.7725, allocations: 160.2 kB / 1.149 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7736, allocations: 210.4 kB / 1.149 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.7783, allocations: 3.978 MB / 1.153 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.7788, allocations: 0.8236 MB / 1.154 GB, free: 14.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.7791, allocations: 99.39 kB / 1.154 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.7793, allocations: 143.4 kB / 1.154 GB, free: 14.54 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.7793, allocations: 0 / 1.154 GB, free: 14.54 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.307/4.087, allocations: 11.09 MB / 1.165 GB, free: 3.68 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/4.087, allocations: 258.7 kB / 1.165 GB, free: 3.422 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/5.856, allocations: 0 / 1.165 GB, free: 3.422 MB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches