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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_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.001347/0.001347, 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.001726/0.001727, allocations: 193 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.348/2.348, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4922, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1531/0.6453, allocations: 179.4 MB / 1.193 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007383/0.6528, allocations: 7.832 MB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.653, allocations: 19.88 kB / 1.2 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.6536, allocations: 246.2 kB / 1.201 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.6557, allocations: 1.225 MB / 1.202 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.6569, allocations: 0.7205 MB / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.6577, allocations: 1.076 MB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.6582, allocations: 405.4 kB / 1.204 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.6598, allocations: 0.8315 MB / 1.205 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.6602, allocations: 426.5 kB / 1.205 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.6603, allocations: 40 kB / 1.205 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6615, allocations: 0.9548 MB / 1.206 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.6616, allocations: 159.5 kB / 1.206 GB, free: 488 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.6618, allocations: 242.8 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009596/0.6628, allocations: 0.9233 MB / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.6628, allocations: 0 / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6628, allocations: 0 / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.6628, allocations: 4 kB / 1.207 GB, free: 15.31 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.0009128/0.6637, allocations: 0.7987 MB / 1.208 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.6638, allocations: 16.03 kB / 1.208 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.6638, allocations: 82.45 kB / 1.208 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008232/0.6647, allocations: 143.3 kB / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.6651, allocations: 391.3 kB / 1.209 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.6651, allocations: 29 kB / 1.209 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.6652, allocations: 36 kB / 1.209 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.6658, allocations: 446.4 kB / 1.209 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6658, allocations: 7.938 kB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.6659, allocations: 19.94 kB / 1.209 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.6659, allocations: 8 kB / 1.209 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.6664, allocations: 319.8 kB / 1.21 GB, free: 12.91 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.001716/0.6681, allocations: 2.019 MB / 1.212 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.6685, allocations: 242.4 kB / 1.212 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.6687, allocations: 144.8 kB / 1.212 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.6693, allocations: 307.2 kB / 1.212 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6693, allocations: 38.56 kB / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.6693, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.0008798/0.6702, allocations: 449.2 kB / 1.213 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.6702, allocations: 55.41 kB / 1.213 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.6706, allocations: 405.8 kB / 1.213 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6706, allocations: 33.7 kB / 1.213 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.6707, allocations: 232.3 kB / 1.213 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.6708, allocations: 78.8 kB / 1.213 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.6709, allocations: 61.64 kB / 1.213 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.671, allocations: 350.7 kB / 1.214 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.6712, allocations: 111.9 kB / 1.214 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.6714, allocations: 182.8 kB / 1.214 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.6719, allocations: 309.5 kB / 1.214 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6719, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005533/0.6725, allocations: 366.5 kB / 1.215 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6725, allocations: 8 kB / 1.215 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6725, allocations: 3.938 kB / 1.215 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6725, allocations: 8 kB / 1.215 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.6728, allocations: 51.97 kB / 1.215 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6728, allocations: 11.92 kB / 1.215 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.673, allocations: 35.62 kB / 1.215 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.673, allocations: 19.98 kB / 1.215 GB, free: 7.102 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.0001407/0.6732, allocations: 169.8 kB / 1.215 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.6733, allocations: 39.53 kB / 1.215 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.6739, allocations: 364.9 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6739, allocations: 4 kB / 1.215 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.6739, allocations: 0 / 1.215 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6739, allocations: 0 / 1.215 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.6751, allocations: 0.9379 MB / 1.216 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6751, allocations: 8.219 kB / 1.216 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.6753, allocations: 43.97 kB / 1.216 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6753, allocations: 7.938 kB / 1.216 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.6754, allocations: 15.94 kB / 1.216 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6754, allocations: 7.922 kB / 1.216 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6754, allocations: 4 kB / 1.216 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.6762, allocations: 0.6213 MB / 1.217 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.6763, allocations: 152.5 kB / 1.217 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.6764, allocations: 12.06 kB / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.6766, allocations: 11.98 kB / 1.217 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.6766, allocations: 11.98 kB / 1.217 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.6767, allocations: 12 kB / 1.217 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002346/0.6769, allocations: 279.1 kB / 1.217 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6769, allocations: 3.938 kB / 1.217 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003709/0.6773, allocations: 123.7 kB / 1.218 GB, free: 4.156 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.001204/0.6785, allocations: 1.235 MB / 1.219 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.679, allocations: 301.1 kB / 1.219 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.679, allocations: 0 / 1.219 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.6793, allocations: 147.8 kB / 1.219 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.6802, allocations: 223.8 kB / 1.219 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.6842, allocations: 3.847 MB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.6845, allocations: 0.835 MB / 1.224 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.6848, allocations: 99.41 kB / 1.224 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.6849, allocations: 135.4 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.6849, allocations: 0 / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.712/2.397, allocations: 11.58 MB / 1.236 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/12.24, allocations: 15.75 kB / 1.236 GB, free: 1.77 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches