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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001896/0.001896, 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.002241/0.002241, allocations: 192.4 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 71.88 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6964, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2/0.8965, allocations: 179.4 MB / 1.125 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.9071, allocations: 7.834 MB / 1.133 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006533/0.9078, allocations: 19.88 kB / 1.133 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.9086, allocations: 242.2 kB / 1.133 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.912, allocations: 1.229 MB / 1.134 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.914, allocations: 0.7242 MB / 1.135 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.9156, allocations: 1.08 MB / 1.136 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008706/0.9165, allocations: 401.4 kB / 1.136 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.9192, allocations: 0.8261 MB / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.9201, allocations: 446.4 kB / 1.137 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.9202, allocations: 36 kB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.9229, allocations: 0.9471 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.9233, allocations: 155.5 kB / 1.138 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.9238, allocations: 246.8 kB / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.926, allocations: 0.931 MB / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9261, allocations: 0 / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9261, allocations: 0 / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.9261, allocations: 4 kB / 1.14 GB, free: 14.66 MB / 0.9044 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.001801/0.9279, allocations: 0.7949 MB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.928, allocations: 12.03 kB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.9281, allocations: 78.47 kB / 1.141 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9291, allocations: 151.3 kB / 1.141 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.9297, allocations: 383.3 kB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.9298, allocations: 32.94 kB / 1.141 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.9298, allocations: 36 kB / 1.141 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.9306, allocations: 458.3 kB / 1.142 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.9307, allocations: 0 / 1.142 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.9307, allocations: 19.94 kB / 1.142 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.9307, allocations: 8 kB / 1.142 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.9314, allocations: 327.7 kB / 1.142 GB, free: 12.26 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.002268/0.9337, allocations: 2.015 MB / 1.144 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.9341, allocations: 231.2 kB / 1.144 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.9344, allocations: 149.2 kB / 1.144 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.9351, allocations: 315.1 kB / 1.144 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.9351, allocations: 34.56 kB / 1.145 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 3.045e-06/0.9351, allocations: 3.984 kB / 1.145 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001074/0.9362, allocations: 458.4 kB / 1.145 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.9363, allocations: 55.41 kB / 1.145 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.9367, allocations: 397.9 kB / 1.145 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.9367, allocations: 29.7 kB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.9369, allocations: 228.2 kB / 1.146 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.937, allocations: 82.81 kB / 1.146 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.9371, allocations: 57.69 kB / 1.146 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9372, allocations: 358.7 kB / 1.146 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.9374, allocations: 111.9 kB / 1.146 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.9377, allocations: 179.3 kB / 1.146 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.9383, allocations: 304.2 kB / 1.147 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9383, allocations: 4 kB / 1.147 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006689/0.939, allocations: 365.5 kB / 1.147 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.939, allocations: 8 kB / 1.147 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.939, allocations: 0 / 1.147 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.939, allocations: 4 kB / 1.147 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.9393, allocations: 60.12 kB / 1.147 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9393, allocations: 4 kB / 1.147 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.9396, allocations: 51.45 kB / 1.147 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.9396, allocations: 16 kB / 1.147 GB, free: 6.461 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.0001743/0.9398, allocations: 169.7 kB / 1.147 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.9399, allocations: 35.53 kB / 1.147 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.9406, allocations: 370 kB / 1.148 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9407, allocations: 3.938 kB / 1.148 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9407, allocations: 4 kB / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9407, allocations: 0 / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.9421, allocations: 0.9343 MB / 1.149 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.9421, allocations: 0 / 1.149 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.9424, allocations: 55.91 kB / 1.149 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.9424, allocations: 3.938 kB / 1.149 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.9425, allocations: 8 kB / 1.149 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9425, allocations: 4.219 kB / 1.149 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9425, allocations: 8 kB / 1.149 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.9434, allocations: 0.6306 MB / 1.149 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.9436, allocations: 152.5 kB / 1.149 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.9437, allocations: 7.984 kB / 1.149 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.9439, allocations: 8 kB / 1.149 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.944, allocations: 24.03 kB / 1.15 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.944, allocations: 12 kB / 1.15 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002863/0.9443, allocations: 279.1 kB / 1.15 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9443, allocations: 3.938 kB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004569/0.9448, allocations: 103.8 kB / 1.15 GB, free: 3.52 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.001512/0.9463, allocations: 1.253 MB / 1.151 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006582/0.947, allocations: 303.6 kB / 1.151 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.947, allocations: 0 / 1.151 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.9473, allocations: 152.3 kB / 1.152 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.9484, allocations: 206 kB / 1.152 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.9535, allocations: 3.862 MB / 1.156 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.9541, allocations: 0.8311 MB / 1.156 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.9546, allocations: 99.39 kB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.9549, allocations: 139.4 kB / 1.157 GB, free: 12.47 MB / 0.92 GB Notification: Performance of SimCode: time 5.91e-07/0.9549, allocations: 0 / 1.157 GB, free: 12.47 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.9925, allocations: 11.57 MB / 1.168 GB, free: 1.121 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.708, allocations: 14.17 kB / 1.168 GB, free: 1.109 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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