Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_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.0008684/0.0008685, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005196/0.005196, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.192/1.192, 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 9.1.2-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002839, allocations: 12.28 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5191, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001335/0.5205, allocations: 1.394 MB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.6489, allocations: 145.8 MB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.649, allocations: 4 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.6492, allocations: 15.86 kB / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.6494, allocations: 47.7 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.6498, allocations: 163.5 kB / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.65, allocations: 151.5 kB / 1.099 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.6501, allocations: 27.38 kB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.6519, allocations: 178.5 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.6521, allocations: 59.73 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.6521, allocations: 4 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.6524, allocations: 163.7 kB / 1.1 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.6524, allocations: 19.91 kB / 1.1 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.6525, allocations: 69.44 kB / 1.1 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.6528, allocations: 199.3 kB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6528, allocations: 4 kB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6528, allocations: 0 / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.6528, allocations: 0 / 1.1 GB, free: 10.54 MB / 0.8575 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.0007096/0.6535, allocations: 463 kB / 1.1 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.6535, allocations: 8.031 kB / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.6536, allocations: 38.75 kB / 1.1 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005769/0.6542, allocations: 68.44 kB / 1.101 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.6544, allocations: 198.9 kB / 1.101 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6544, allocations: 4 kB / 1.101 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.6544, allocations: 23.92 kB / 1.101 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.6548, allocations: 187 kB / 1.101 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6548, allocations: 0 / 1.101 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.6549, allocations: 4 kB / 1.101 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6549, allocations: 4 kB / 1.101 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.6554, allocations: 167.7 kB / 1.101 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.6563, allocations: 0.8246 MB / 1.102 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.6567, allocations: 146.4 kB / 1.102 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.657, allocations: 92.8 kB / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.657, allocations: 0 / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6571, allocations: 34.56 kB / 1.102 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.6571, allocations: 0 / 1.102 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001825/0.6589, allocations: 495 kB / 1.103 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.6589, allocations: 63.34 kB / 1.103 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6591, allocations: 148.3 kB / 1.103 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.6591, allocations: 25.7 kB / 1.103 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.6591, allocations: 112.2 kB / 1.103 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.6592, allocations: 27.7 kB / 1.103 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.6592, allocations: 21.7 kB / 1.103 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.6593, allocations: 322.8 kB / 1.103 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.6595, allocations: 79.94 kB / 1.103 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6598, allocations: 112.2 kB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.6603, allocations: 200.1 kB / 1.104 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6603, allocations: 0 / 1.104 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001015/0.6613, allocations: 302.1 kB / 1.104 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6614, allocations: 11.88 kB / 1.104 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6614, allocations: 3.938 kB / 1.104 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.6619, allocations: 88.89 kB / 1.104 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.6621, allocations: 35.95 kB / 1.104 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.6639, allocations: 1.544 MB / 1.106 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.6641, allocations: 39.94 kB / 1.106 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.6641, allocations: 4 kB / 1.106 GB, free: 4.246 MB / 0.8575 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.024e-05/0.6642, allocations: 129.7 kB / 1.106 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.6643, allocations: 11.81 kB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.6653, allocations: 330.9 kB / 1.106 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6653, allocations: 0 / 1.106 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.6654, allocations: 3.938 kB / 1.106 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6654, allocations: 3.984 kB / 1.106 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.6656, allocations: 241.5 kB / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6656, allocations: 0 / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.6658, allocations: 39.97 kB / 1.106 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.6663, allocations: 84.77 kB / 1.106 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.6663, allocations: 3.984 kB / 1.106 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.6679, allocations: 1.575 MB / 1.108 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6679, allocations: 0 / 1.108 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.6689, allocations: 400.2 kB / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.669, allocations: 108.8 kB / 1.109 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.669, allocations: 7.938 kB / 1.109 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6692, allocations: 19.98 kB / 1.109 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.6693, allocations: 19.97 kB / 1.109 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.6693, allocations: 4 kB / 1.109 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.6694, allocations: 111.9 kB / 1.109 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6694, allocations: 7.938 kB / 1.109 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002921/0.6697, allocations: 44 kB / 1.109 GB, free: 0.8828 MB / 0.8575 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.001247/0.6709, allocations: 0.9512 MB / 1.11 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007992/0.6717, allocations: 322.6 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6717, allocations: 8 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.6722, allocations: 248.5 kB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.6725, allocations: 25.64 kB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.676, allocations: 2.146 MB / 1.112 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.6763, allocations: 0.7127 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.6764, allocations: 20.83 kB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.6765, allocations: 43.34 kB / 1.113 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.6765, allocations: 0 / 1.113 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.7044, allocations: 4.22 MB / 1.117 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.7047, allocations: 247.6 kB / 1.117 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.357, allocations: 0 / 1.117 GB, free: 7.965 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches