Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.00115/0.00115, 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.001207/0.001207, allocations: 193.5 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.59 kB / 0.9083 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2832, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002789/0.286, allocations: 1.678 MB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.4332, allocations: 149.7 MB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.4334, allocations: 3.938 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.4336, allocations: 31.72 kB / 1.212 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.4338, allocations: 51.64 kB / 1.212 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.4343, allocations: 179.3 kB / 1.212 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.4345, allocations: 167.5 kB / 1.212 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.4346, allocations: 37.33 kB / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.4357, allocations: 188.9 kB / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.4359, allocations: 59.75 kB / 1.212 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.4359, allocations: 11.98 kB / 1.212 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.4362, allocations: 159.8 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.4362, allocations: 27.91 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.4363, allocations: 51.72 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.4366, allocations: 203.4 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4367, allocations: 0 / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4367, allocations: 0 / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4367, allocations: 0 / 1.213 GB, free: 5.371 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008004/0.4375, allocations: 467 kB / 1.213 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4375, allocations: 12.03 kB / 1.213 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.4376, allocations: 34.75 kB / 1.213 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.4382, allocations: 64.44 kB / 1.213 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4384, allocations: 202.8 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.4384, allocations: 4 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.4385, allocations: 8 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.4389, allocations: 187 kB / 1.214 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4389, allocations: 0 / 1.214 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4389, allocations: 0 / 1.214 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4389, allocations: 7.938 kB / 1.214 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4394, allocations: 159.6 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4405, allocations: 0.8167 MB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.4409, allocations: 134.5 kB / 1.215 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.4412, allocations: 76.8 kB / 1.215 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4412, allocations: 8.141 kB / 1.215 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4412, allocations: 34.55 kB / 1.215 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.4413, allocations: 0 / 1.215 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00196/0.4432, allocations: 455.2 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4433, allocations: 55.34 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4434, allocations: 152.7 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4434, allocations: 29.7 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.4435, allocations: 104.3 kB / 1.216 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4435, allocations: 35.48 kB / 1.216 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.4436, allocations: 33.7 kB / 1.216 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.4437, allocations: 318.8 kB / 1.216 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.444, allocations: 67.94 kB / 1.216 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.4442, allocations: 108.2 kB / 1.216 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.4448, allocations: 180 kB / 1.216 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4448, allocations: 0 / 1.216 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001038/0.4458, allocations: 278.1 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4458, allocations: 13.97 kB / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4459, allocations: 0 / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.4465, allocations: 88.88 kB / 1.217 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.4467, allocations: 31.97 kB / 1.217 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.4487, allocations: 1.662 MB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.449, allocations: 31.81 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.449, allocations: 7.938 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.4491, allocations: 122.8 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.4492, allocations: 11.91 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.4503, allocations: 316.8 kB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4503, allocations: 4 kB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.4503, allocations: 0 / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4503, allocations: 3.984 kB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4505, allocations: 237.5 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4505, allocations: 4 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4508, allocations: 27.97 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.4512, allocations: 72.78 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4512, allocations: 11.86 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.453, allocations: 1.69 MB / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.453, allocations: 0 / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4541, allocations: 396 kB / 1.221 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.4541, allocations: 101 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4542, allocations: 0 / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4544, allocations: 19.92 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4545, allocations: 15.97 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4545, allocations: 4 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.4546, allocations: 111.2 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4546, allocations: 4 kB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003188/0.4549, allocations: 43.94 kB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.4562, allocations: 0.9233 MB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008712/0.4571, allocations: 314.7 kB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4571, allocations: 4 kB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.4577, allocations: 238.4 kB / 1.223 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.458, allocations: 21.88 kB / 1.223 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.4617, allocations: 2.049 MB / 1.225 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.462, allocations: 0.7163 MB / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.4622, allocations: 20.88 kB / 1.226 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.4623, allocations: 35.42 kB / 1.226 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4623, allocations: 0 / 1.226 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.4861, allocations: 4.67 MB / 1.23 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.99, allocations: 12.7 kB / 1.23 GB, free: 2.68 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches