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.001786/0.001786, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002143/0.002143, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.602/2.602, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6087, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.191/0.7997, allocations: 177.2 MB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008723/0.8085, allocations: 7.857 MB / 1.197 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.8091, allocations: 23.88 kB / 1.197 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.8098, allocations: 182.8 kB / 1.198 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.8125, allocations: 1.148 MB / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.8142, allocations: 0.6705 MB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.8157, allocations: 1.536 MB / 1.201 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.8162, allocations: 354.2 kB / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.8186, allocations: 0.755 MB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.8193, allocations: 454.3 kB / 1.202 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.8194, allocations: 28 kB / 1.202 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.8212, allocations: 1.091 MB / 1.203 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.8213, allocations: 147.5 kB / 1.204 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.8216, allocations: 238.7 kB / 1.204 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.8228, allocations: 0.9737 MB / 1.205 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8228, allocations: 0 / 1.205 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8228, allocations: 0 / 1.205 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.8228, allocations: 0 / 1.205 GB, free: 1.473 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.001137/0.824, allocations: 0.8105 MB / 1.206 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.824, allocations: 12.03 kB / 1.206 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.896e-05/0.8241, allocations: 78.47 kB / 1.206 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.8251, allocations: 143.3 kB / 1.206 GB, free: 384 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.8256, allocations: 383.4 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.8256, allocations: 29 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.8257, allocations: 36 kB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.8264, allocations: 450.4 kB / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8265, allocations: 0 / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.8265, allocations: 19.94 kB / 1.207 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.8265, allocations: 8 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.8272, allocations: 323.7 kB / 1.207 GB, free: 15.08 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.002149/0.8293, allocations: 2.012 MB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.8298, allocations: 234.5 kB / 1.209 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.83, allocations: 148.8 kB / 1.209 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.8306, allocations: 311.2 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8307, allocations: 38.5 kB / 1.21 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.8307, allocations: 7.938 kB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001014/0.8317, allocations: 454.4 kB / 1.21 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.8318, allocations: 55.41 kB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.8321, allocations: 398 kB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.8322, allocations: 29.7 kB / 1.211 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.8324, allocations: 232.2 kB / 1.211 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.8324, allocations: 74.91 kB / 1.211 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.8325, allocations: 61.61 kB / 1.211 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8327, allocations: 358.7 kB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.833, allocations: 107.9 kB / 1.211 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.8333, allocations: 182.7 kB / 1.212 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.8338, allocations: 312.8 kB / 1.212 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8338, allocations: 0 / 1.212 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006315/0.8344, allocations: 370.2 kB / 1.212 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8345, allocations: 4 kB / 1.212 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8345, allocations: 224 / 1.212 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8345, allocations: 8 kB / 1.212 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.8348, allocations: 59.91 kB / 1.212 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8348, allocations: 7.938 kB / 1.212 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.8351, allocations: 51.59 kB / 1.212 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.8351, allocations: 12 kB / 1.212 GB, free: 9.266 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.0001722/0.8353, allocations: 173.7 kB / 1.213 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.8354, allocations: 39.44 kB / 1.213 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.8361, allocations: 367.2 kB / 1.213 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8361, allocations: 4 kB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8361, allocations: 4 kB / 1.213 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.8361, allocations: 3.984 kB / 1.213 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.8375, allocations: 0.9372 MB / 1.214 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8376, allocations: 8.031 kB / 1.214 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.8378, allocations: 47.91 kB / 1.214 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.8378, allocations: 3.938 kB / 1.214 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.8379, allocations: 8 kB / 1.214 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.8379, allocations: 7.984 kB / 1.214 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8379, allocations: 4 kB / 1.214 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.8389, allocations: 0.6319 MB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.839, allocations: 148.5 kB / 1.215 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.8391, allocations: 8 kB / 1.215 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.8393, allocations: 23.97 kB / 1.215 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.8394, allocations: 19.92 kB / 1.215 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.8394, allocations: 8 kB / 1.215 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002776/0.8397, allocations: 291.1 kB / 1.215 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8397, allocations: 0 / 1.215 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004534/0.8402, allocations: 115.7 kB / 1.215 GB, free: 6.293 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.001517/0.8417, allocations: 1.232 MB / 1.216 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.8423, allocations: 285.2 kB / 1.217 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8423, allocations: 4 kB / 1.217 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.8426, allocations: 148.7 kB / 1.217 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8437, allocations: 218.7 kB / 1.217 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.8486, allocations: 3.973 MB / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.8491, allocations: 0.8314 MB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.8494, allocations: 95.41 kB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.8497, allocations: 139.4 kB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8497, allocations: 4 kB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.8749, allocations: 11.09 MB / 1.233 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.8751, allocations: 245.5 kB / 1.233 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.02, allocations: 0 / 1.233 GB, free: 4.055 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