Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_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.0009377/0.0009417, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005622/0.005622, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.493/2.493, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.597, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001793/0.5989, allocations: 1.382 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.7393, allocations: 145.8 MB / 1.167 GB, free: 12.06 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.7394, allocations: 4 kB / 1.167 GB, free: 12.06 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.7395, allocations: 19.86 kB / 1.167 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.7398, allocations: 51.7 kB / 1.167 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.7402, allocations: 151.5 kB / 1.167 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.7404, allocations: 155.4 kB / 1.167 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.7405, allocations: 35.34 kB / 1.167 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.7424, allocations: 169.5 kB / 1.167 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.7425, allocations: 55.75 kB / 1.167 GB, free: 11.45 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.7425, allocations: 4 kB / 1.168 GB, free: 11.45 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.7428, allocations: 167.7 kB / 1.168 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.7429, allocations: 23.89 kB / 1.168 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.7429, allocations: 73.38 kB / 1.168 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.7432, allocations: 195.4 kB / 1.168 GB, free: 10.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7432, allocations: 0 / 1.168 GB, free: 10.99 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7432, allocations: 0 / 1.168 GB, free: 10.99 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7432, allocations: 0 / 1.168 GB, free: 10.99 MB / 0.92 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.0007625/0.744, allocations: 455.2 kB / 1.168 GB, free: 10.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7441, allocations: 8.031 kB / 1.168 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.7441, allocations: 50.61 kB / 1.168 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.7447, allocations: 64.44 kB / 1.168 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.7449, allocations: 198.9 kB / 1.169 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.7449, allocations: 0 / 1.169 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.745, allocations: 12 kB / 1.169 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.7454, allocations: 195.5 kB / 1.169 GB, free: 9.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.7455, allocations: 3.984 kB / 1.169 GB, free: 9.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.7455, allocations: 3.984 kB / 1.169 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7455, allocations: 8 kB / 1.169 GB, free: 9.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.746, allocations: 167.8 kB / 1.169 GB, free: 9.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.7471, allocations: 0.832 MB / 1.17 GB, free: 8.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.7475, allocations: 142.5 kB / 1.17 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.7478, allocations: 96.78 kB / 1.17 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7478, allocations: 3.938 kB / 1.17 GB, free: 8.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.7479, allocations: 34.56 kB / 1.17 GB, free: 8.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.7479, allocations: 0 / 1.17 GB, free: 8.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001998/0.7499, allocations: 487.2 kB / 1.171 GB, free: 8.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.7499, allocations: 63.28 kB / 1.171 GB, free: 7.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.7501, allocations: 148.7 kB / 1.171 GB, free: 7.797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.7501, allocations: 29.7 kB / 1.171 GB, free: 7.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.7501, allocations: 104.4 kB / 1.171 GB, free: 7.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.7502, allocations: 35.53 kB / 1.171 GB, free: 7.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.7502, allocations: 17.72 kB / 1.171 GB, free: 7.598 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.7503, allocations: 326.8 kB / 1.171 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.7506, allocations: 71.94 kB / 1.171 GB, free: 7.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.7509, allocations: 120.2 kB / 1.171 GB, free: 7.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.7514, allocations: 200.1 kB / 1.172 GB, free: 6.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7514, allocations: 3.984 kB / 1.172 GB, free: 6.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001088/0.7525, allocations: 298.1 kB / 1.172 GB, free: 6.551 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7526, allocations: 7.938 kB / 1.172 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7526, allocations: 0 / 1.172 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.7532, allocations: 92.89 kB / 1.172 GB, free: 6.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.7534, allocations: 43.89 kB / 1.172 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.7554, allocations: 1.552 MB / 1.174 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.7556, allocations: 23.95 kB / 1.174 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.7557, allocations: 7.984 kB / 1.174 GB, free: 4.688 MB / 0.92 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.0001069/0.7558, allocations: 126.3 kB / 1.174 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.7558, allocations: 15.75 kB / 1.174 GB, free: 4.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.757, allocations: 331 kB / 1.174 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.757, allocations: 4 kB / 1.174 GB, free: 4.195 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.757, allocations: 3.938 kB / 1.174 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.757, allocations: 0 / 1.174 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.7573, allocations: 245.3 kB / 1.174 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7573, allocations: 3.938 kB / 1.174 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.7575, allocations: 39.95 kB / 1.174 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.758, allocations: 88.77 kB / 1.174 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.7581, allocations: 4 kB / 1.174 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.7598, allocations: 1.575 MB / 1.176 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7599, allocations: 64 / 1.176 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.7609, allocations: 404 kB / 1.176 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.761, allocations: 108.8 kB / 1.176 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.7611, allocations: 0 / 1.176 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.7613, allocations: 19.98 kB / 1.177 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.7614, allocations: 11.98 kB / 1.177 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.7614, allocations: 11.92 kB / 1.177 GB, free: 1.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.7615, allocations: 119.2 kB / 1.177 GB, free: 1.355 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7615, allocations: 0 / 1.177 GB, free: 1.355 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003324/0.7618, allocations: 48 kB / 1.177 GB, free: 1.309 MB / 0.92 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.001421/0.7632, allocations: 0.9431 MB / 1.178 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009081/0.7642, allocations: 334.7 kB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7642, allocations: 7.938 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.7647, allocations: 238.6 kB / 1.178 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.7651, allocations: 29.3 kB / 1.178 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.769, allocations: 2.152 MB / 1.18 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.7693, allocations: 0.7049 MB / 1.181 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.7694, allocations: 20.88 kB / 1.181 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.7695, allocations: 35.41 kB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.7695, allocations: 7.938 kB / 1.181 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.7852, allocations: 4.222 MB / 1.185 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.7854, allocations: 247 kB / 1.185 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.672, allocations: 0 / 1.185 GB, free: 8.398 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches