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.001013/0.001013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001029/0.001029, allocations: 188.7 kB / 16.25 MB, free: 6.637 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.358/2.358, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.88 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5031, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.155/0.6582, allocations: 177 MB / 1.19 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007375/0.6656, allocations: 7.773 MB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.666, allocations: 19.88 kB / 1.197 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.6666, allocations: 202.8 kB / 1.198 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.6689, allocations: 1.148 MB / 1.199 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.6703, allocations: 0.6702 MB / 1.199 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.6714, allocations: 1.076 MB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.672, allocations: 401.3 kB / 1.201 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.6742, allocations: 0.831 MB / 1.202 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.6747, allocations: 454.4 kB / 1.202 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.6748, allocations: 39.98 kB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.676, allocations: 0.9858 MB / 1.203 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.6761, allocations: 163.5 kB / 1.203 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.6763, allocations: 242.8 kB / 1.203 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.6773, allocations: 0.9854 MB / 1.204 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6773, allocations: 0 / 1.204 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6773, allocations: 0 / 1.204 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6774, allocations: 0 / 1.204 GB, free: 2.02 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.0009525/0.6783, allocations: 0.8104 MB / 1.205 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6784, allocations: 12.03 kB / 1.205 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.6784, allocations: 78.47 kB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.6793, allocations: 147.3 kB / 1.205 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.6797, allocations: 383.3 kB / 1.206 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.6798, allocations: 29 kB / 1.206 GB, free: 480 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.6798, allocations: 39.94 kB / 1.206 GB, free: 440 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.6805, allocations: 454.4 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.6805, allocations: 3.984 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.6805, allocations: 19.94 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6805, allocations: 8 kB / 1.206 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.6811, allocations: 315.8 kB / 1.207 GB, free: 15.61 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.001759/0.6828, allocations: 2.011 MB / 1.209 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.6832, allocations: 234.4 kB / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.6834, allocations: 148.8 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/0.684, allocations: 307.2 kB / 1.209 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.684, allocations: 34.56 kB / 1.209 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.684, allocations: 7.938 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.0008839/0.6849, allocations: 451.5 kB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.6849, allocations: 59.33 kB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.6853, allocations: 401.9 kB / 1.21 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.6853, allocations: 25.7 kB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6855, allocations: 228.3 kB / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.6855, allocations: 82.8 kB / 1.21 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.6856, allocations: 61.7 kB / 1.211 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6857, allocations: 358.7 kB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.6859, allocations: 107.9 kB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.6862, allocations: 178.8 kB / 1.211 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.6866, allocations: 311.9 kB / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6867, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005646/0.6872, allocations: 369.5 kB / 1.212 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.6872, allocations: 9.875 kB / 1.212 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6873, allocations: 224 / 1.212 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6873, allocations: 8 kB / 1.212 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.6875, allocations: 55.91 kB / 1.212 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6875, allocations: 4 kB / 1.212 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.6878, allocations: 51.59 kB / 1.212 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.6878, allocations: 20 kB / 1.212 GB, free: 9.809 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.0001466/0.688, allocations: 173.7 kB / 1.212 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.6881, allocations: 35.53 kB / 1.212 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.6887, allocations: 366.8 kB / 1.213 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6887, allocations: 4 kB / 1.213 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6887, allocations: 3.984 kB / 1.213 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6887, allocations: 0 / 1.213 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6899, allocations: 0.941 MB / 1.213 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6899, allocations: 8.031 kB / 1.213 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.6902, allocations: 51.91 kB / 1.213 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6902, allocations: 3.938 kB / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.6902, allocations: 11.94 kB / 1.214 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6902, allocations: 4 kB / 1.214 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6902, allocations: 4 kB / 1.214 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.691, allocations: 0.6293 MB / 1.214 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.6912, allocations: 148.5 kB / 1.214 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.6912, allocations: 16 kB / 1.214 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.6915, allocations: 23.97 kB / 1.214 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.6915, allocations: 11.98 kB / 1.214 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.6915, allocations: 12 kB / 1.214 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002325/0.6918, allocations: 287.1 kB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6918, allocations: 0 / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003789/0.6922, allocations: 111.7 kB / 1.215 GB, free: 6.844 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.001254/0.6934, allocations: 1.227 MB / 1.216 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.694, allocations: 300.9 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.694, allocations: 0 / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.6942, allocations: 154.9 kB / 1.216 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.6952, allocations: 222 kB / 1.217 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.6992, allocations: 3.979 MB / 1.22 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.6996, allocations: 0.8311 MB / 1.221 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.6999, allocations: 99.39 kB / 1.221 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7, allocations: 139.4 kB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.7001, allocations: 3.938 kB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.475, allocations: 11.4 MB / 1.233 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/2.475, allocations: 249.7 kB / 1.233 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/4.938, allocations: 4 kB / 1.233 GB, free: 4.305 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