Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_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.001792/0.001792, 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.00202/0.00202, allocations: 195 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 469.8 MB / 0.7424 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 64.58 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00256/0.2907, allocations: 1.674 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.4388, allocations: 149.7 MB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4389, allocations: 4 kB / 1.212 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.4391, allocations: 27.73 kB / 1.212 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.4393, allocations: 55.62 kB / 1.212 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.4398, allocations: 183.3 kB / 1.212 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.44, allocations: 159.5 kB / 1.212 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4401, allocations: 33.33 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.4414, allocations: 198.9 kB / 1.213 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.4415, allocations: 63.75 kB / 1.213 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.4415, allocations: 8 kB / 1.213 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.4418, allocations: 167.7 kB / 1.213 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.4419, allocations: 23.92 kB / 1.213 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.442, allocations: 55.72 kB / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.4423, allocations: 199.5 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4423, allocations: 0 / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4423, allocations: 0 / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.4423, allocations: 0 / 1.213 GB, free: 5.051 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.0007981/0.4431, allocations: 468.8 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4432, allocations: 8.031 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.4432, allocations: 42.73 kB / 1.214 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/0.4438, allocations: 64.44 kB / 1.214 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.444, allocations: 198.8 kB / 1.214 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.444, allocations: 8 kB / 1.214 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.4441, allocations: 4 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.4445, allocations: 189.8 kB / 1.214 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4445, allocations: 3.938 kB / 1.214 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4445, allocations: 0 / 1.214 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4445, allocations: 4 kB / 1.214 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.445, allocations: 147.7 kB / 1.214 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.4461, allocations: 0.8245 MB / 1.215 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.4465, allocations: 126.5 kB / 1.215 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.4468, allocations: 80.8 kB / 1.215 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4468, allocations: 4 kB / 1.215 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.4468, allocations: 30.56 kB / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4468, allocations: 0 / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001854/0.4487, allocations: 467.3 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4487, allocations: 55.34 kB / 1.216 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4489, allocations: 152.9 kB / 1.216 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4489, allocations: 25.7 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.449, allocations: 104.3 kB / 1.216 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.449, allocations: 27.56 kB / 1.216 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.4491, allocations: 29.7 kB / 1.216 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4492, allocations: 326.8 kB / 1.216 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.4494, allocations: 71.86 kB / 1.216 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.4497, allocations: 104.2 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.4502, allocations: 184.1 kB / 1.217 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4502, allocations: 3.938 kB / 1.217 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009927/0.4512, allocations: 278.1 kB / 1.217 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4512, allocations: 7.938 kB / 1.217 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4512, allocations: 8 kB / 1.217 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.4518, allocations: 80.89 kB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.452, allocations: 31.95 kB / 1.217 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.454, allocations: 1.666 MB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4542, allocations: 19.83 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.4542, allocations: 11.92 kB / 1.219 GB, free: 14.79 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 0.0001011/0.4543, allocations: 121.8 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4544, allocations: 11.97 kB / 1.219 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4554, allocations: 312 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4554, allocations: 4 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.4555, allocations: 4 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4555, allocations: 192 / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.4557, allocations: 237.5 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4557, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4559, allocations: 35.94 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.4564, allocations: 80.72 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4564, allocations: 3.938 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.4582, allocations: 1.685 MB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4582, allocations: 0 / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.4592, allocations: 392 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.4593, allocations: 97 kB / 1.222 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4593, allocations: 7.938 kB / 1.222 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4595, allocations: 23.91 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.4596, allocations: 11.98 kB / 1.222 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4596, allocations: 11.92 kB / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.4597, allocations: 107.3 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4597, allocations: 0 / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.46, allocations: 47.94 kB / 1.222 GB, free: 11.37 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.001294/0.4613, allocations: 0.9249 MB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.4621, allocations: 312.4 kB / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4621, allocations: 256 / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.4627, allocations: 234.5 kB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4629, allocations: 28.44 kB / 1.223 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.4665, allocations: 2.048 MB / 1.225 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.4668, allocations: 0.7124 MB / 1.226 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.4669, allocations: 32.94 kB / 1.226 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.467, allocations: 35.62 kB / 1.226 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.467, allocations: 3.938 kB / 1.226 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.522/1.989, allocations: 4.658 MB / 1.231 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/21.59, allocations: 9.469 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches