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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001212/0.001212, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009902/0.009902, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 16 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6199, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1841/0.804, allocations: 174.9 MB / 1.194 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.8135, allocations: 7.742 MB / 1.201 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.8141, allocations: 15.88 kB / 1.201 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.8149, allocations: 182.8 kB / 1.202 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.8183, allocations: 1.156 MB / 1.203 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.8203, allocations: 0.6623 MB / 1.203 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.8222, allocations: 1.544 MB / 1.205 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.8229, allocations: 337.8 kB / 1.205 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.8257, allocations: 0.7486 MB / 1.206 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.8268, allocations: 450.3 kB / 1.206 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.8269, allocations: 24 kB / 1.206 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.8289, allocations: 1.087 MB / 1.207 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.8291, allocations: 143.5 kB / 1.208 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.8294, allocations: 248.5 kB / 1.208 GB, free: 2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.8312, allocations: 0.9658 MB / 1.209 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.8312, allocations: 0 / 1.209 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8312, allocations: 4 kB / 1.209 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.8312, allocations: 0 / 1.209 GB, free: 1.027 MB / 0.9512 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.001129/0.8323, allocations: 0.7247 MB / 1.21 GB, free: 260 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.8324, allocations: 16.03 kB / 1.21 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.8325, allocations: 78.52 kB / 1.21 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009629/0.8335, allocations: 139.3 kB / 1.21 GB, free: 16 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.8341, allocations: 391.3 kB / 1.21 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.8341, allocations: 29 kB / 1.21 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.8342, allocations: 40 kB / 1.21 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.8349, allocations: 450.4 kB / 1.211 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.835, allocations: 7.938 kB / 1.211 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.835, allocations: 16 kB / 1.211 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.835, allocations: 8 kB / 1.211 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.8357, allocations: 331.8 kB / 1.211 GB, free: 14.7 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.002283/0.838, allocations: 2.012 MB / 1.213 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.8385, allocations: 246.4 kB / 1.213 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.8388, allocations: 152.8 kB / 1.213 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.8395, allocations: 319.2 kB / 1.214 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.8396, allocations: 42.56 kB / 1.214 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.8396, allocations: 0 / 1.214 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001183/0.8408, allocations: 476.2 kB / 1.214 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.8408, allocations: 55.41 kB / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.8413, allocations: 401.9 kB / 1.215 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.8414, allocations: 25.7 kB / 1.215 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.8416, allocations: 240.1 kB / 1.215 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.8417, allocations: 78.91 kB / 1.215 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.8417, allocations: 29.7 kB / 1.215 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8419, allocations: 350.7 kB / 1.215 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.8422, allocations: 123.9 kB / 1.215 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.8425, allocations: 178.8 kB / 1.216 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.8431, allocations: 323.7 kB / 1.216 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8431, allocations: 7.922 kB / 1.216 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007701/0.8439, allocations: 369.4 kB / 1.216 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.844, allocations: 8 kB / 1.216 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.844, allocations: 3.938 kB / 1.216 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.844, allocations: 4 kB / 1.216 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.8443, allocations: 59.97 kB / 1.216 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.8443, allocations: 8.156 kB / 1.216 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.8447, allocations: 59.5 kB / 1.216 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.8448, allocations: 16 kB / 1.216 GB, free: 8.828 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.0002007/0.845, allocations: 169.7 kB / 1.217 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.8451, allocations: 43.53 kB / 1.217 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.8458, allocations: 367 kB / 1.217 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8458, allocations: 7.984 kB / 1.217 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8459, allocations: 0 / 1.217 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8459, allocations: 4 kB / 1.217 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.8474, allocations: 0.9548 MB / 1.218 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8474, allocations: 4 kB / 1.218 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.8477, allocations: 55.91 kB / 1.218 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.8477, allocations: 4 kB / 1.218 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.8477, allocations: 4 kB / 1.218 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.8477, allocations: 8.156 kB / 1.218 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8477, allocations: 4 kB / 1.218 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.8488, allocations: 0.6528 MB / 1.219 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.849, allocations: 148.6 kB / 1.219 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.849, allocations: 8.062 kB / 1.219 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.8493, allocations: 27.97 kB / 1.219 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.8494, allocations: 15.98 kB / 1.219 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.8494, allocations: 15.92 kB / 1.219 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002912/0.8497, allocations: 287.1 kB / 1.219 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8497, allocations: 0 / 1.219 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004903/0.8502, allocations: 119.6 kB / 1.219 GB, free: 5.812 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.00153/0.8517, allocations: 1.254 MB / 1.22 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006106/0.8524, allocations: 287.7 kB / 1.221 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8524, allocations: 4 kB / 1.221 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.8527, allocations: 156.7 kB / 1.221 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.8539, allocations: 219.6 kB / 1.221 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.8592, allocations: 4.03 MB / 1.225 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.8596, allocations: 0.8314 MB / 1.226 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.86, allocations: 95.41 kB / 1.226 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.8602, allocations: 135.4 kB / 1.226 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8602, allocations: 4 kB / 1.226 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.8859, allocations: 10.93 MB / 1.237 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.8861, allocations: 258.2 kB / 1.237 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.095, allocations: 7.875 kB / 1.237 GB, free: 3.652 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