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.006876/0.006876, allocations: 98.77 kB / 15.73 MB, free: 6.039 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.00164/0.00164, allocations: 197.5 kB / 16.67 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.84 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3249, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003134/0.328, allocations: 1.665 MB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8197/1.148, allocations: 149.7 MB / 1.355 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/1.148, allocations: 1.031 kB / 1.355 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/1.148, allocations: 22.16 kB / 1.355 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/1.149, allocations: 53.48 kB / 1.355 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000731/1.149, allocations: 189.4 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/1.15, allocations: 160.2 kB / 1.355 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/1.15, allocations: 32.3 kB / 1.356 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/1.151, allocations: 187.8 kB / 1.356 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/1.151, allocations: 71.59 kB / 1.356 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/1.151, allocations: 9.156 kB / 1.356 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/1.152, allocations: 158.9 kB / 1.356 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/1.152, allocations: 27.42 kB / 1.356 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/1.152, allocations: 52.25 kB / 1.356 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/1.153, allocations: 211.7 kB / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.153, allocations: 0 / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/1.153, allocations: 0 / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.153, allocations: 4 kB / 1.356 GB, free: 12.12 MB / 1.061 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.001087/1.154, allocations: 463.7 kB / 1.357 GB, free: 11.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.154, allocations: 10.56 kB / 1.357 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/1.154, allocations: 47.8 kB / 1.357 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/1.154, allocations: 51.41 kB / 1.357 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/1.155, allocations: 211.1 kB / 1.357 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.155, allocations: 8.234 kB / 1.357 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/1.155, allocations: 9 kB / 1.357 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/1.155, allocations: 178.6 kB / 1.357 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.155, allocations: 1.125 kB / 1.357 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.155, allocations: 9.219 kB / 1.357 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.155, allocations: 1.938 kB / 1.357 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/1.156, allocations: 145 kB / 1.357 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.157, allocations: 0.8181 MB / 1.358 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/1.158, allocations: 133.3 kB / 1.358 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/1.158, allocations: 86.64 kB / 1.358 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/1.158, allocations: 5.141 kB / 1.358 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.158, allocations: 35.84 kB / 1.358 GB, free: 10.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/1.158, allocations: 0 / 1.358 GB, free: 10.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.002105/1.16, allocations: 460.3 kB / 1.359 GB, free: 10.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.16, allocations: 52.53 kB / 1.359 GB, free: 10.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.16, allocations: 154.4 kB / 1.359 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.16, allocations: 25.7 kB / 1.359 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/1.161, allocations: 118 kB / 1.359 GB, free: 9.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/1.161, allocations: 30.34 kB / 1.359 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/1.161, allocations: 33.45 kB / 1.359 GB, free: 9.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.161, allocations: 319.4 kB / 1.359 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/1.161, allocations: 67.88 kB / 1.36 GB, free: 9.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/1.161, allocations: 108.2 kB / 1.36 GB, free: 9.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/1.162, allocations: 183.5 kB / 1.36 GB, free: 9.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.162, allocations: 0 / 1.36 GB, free: 9.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001103/1.163, allocations: 277.5 kB / 1.36 GB, free: 9.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.163, allocations: 9.312 kB / 1.36 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.163, allocations: 3.406 kB / 1.36 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/1.164, allocations: 87.41 kB / 1.36 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/1.164, allocations: 32.09 kB / 1.36 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.166, allocations: 1.66 MB / 1.362 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/1.167, allocations: 24.72 kB / 1.362 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/1.167, allocations: 9.016 kB / 1.362 GB, free: 7.684 MB / 1.061 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.0001212/1.167, allocations: 126.5 kB / 1.362 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/1.167, allocations: 11.69 kB / 1.362 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/1.168, allocations: 312.3 kB / 1.362 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.168, allocations: 9.5 kB / 1.362 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.168, allocations: 0.6094 kB / 1.362 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.168, allocations: 0.7969 kB / 1.362 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/1.168, allocations: 241.1 kB / 1.363 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.168, allocations: 1.156 kB / 1.363 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/1.169, allocations: 34.53 kB / 1.363 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.169, allocations: 78.72 kB / 1.363 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.169, allocations: 12.16 kB / 1.363 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.171, allocations: 1.679 MB / 1.364 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.171, allocations: 0 / 1.364 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.172, allocations: 375.5 kB / 1.365 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.172, allocations: 103.4 kB / 1.365 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.173, allocations: 7.703 kB / 1.365 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.173, allocations: 21.22 kB / 1.365 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/1.173, allocations: 17.98 kB / 1.365 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/1.173, allocations: 5.328 kB / 1.365 GB, free: 5.312 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.128e-05/1.173, allocations: 114.5 kB / 1.365 GB, free: 5.227 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.173, allocations: 0 / 1.365 GB, free: 5.227 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00037/1.173, allocations: 43.66 kB / 1.365 GB, free: 5.219 MB / 1.061 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.001542/1.175, allocations: 0.9191 MB / 1.366 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009582/1.176, allocations: 309.8 kB / 1.366 GB, free: 4.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/1.176, allocations: 0 / 1.366 GB, free: 4.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/1.176, allocations: 241.7 kB / 1.366 GB, free: 4.168 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.177, allocations: 27.7 kB / 1.366 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/1.181, allocations: 2.059 MB / 1.368 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/1.181, allocations: 0.7169 MB / 1.369 GB, free: 1.961 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001442/1.181, allocations: 21.39 kB / 1.369 GB, free: 1.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/1.181, allocations: 36.98 kB / 1.369 GB, free: 1.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.181, allocations: 0 / 1.369 GB, free: 1.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/1.209, allocations: 4.841 MB / 1.374 GB, free: 240 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.48, allocations: 12.58 kB / 1.374 GB, free: 232 kB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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