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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006985/0.006985, allocations: 95.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.001853/0.001853, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002586/0.3049, allocations: 1.676 MB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.651/0.9559, allocations: 149.7 MB / 1.39 GB, free: 5.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.852e-05/0.9561, allocations: 1.062 kB / 1.39 GB, free: 5.02 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.9563, allocations: 33.95 kB / 1.39 GB, free: 4.988 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.9565, allocations: 54.22 kB / 1.39 GB, free: 4.945 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.957, allocations: 184.7 kB / 1.39 GB, free: 4.805 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.9572, allocations: 161.8 kB / 1.39 GB, free: 4.711 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.9573, allocations: 29.72 kB / 1.39 GB, free: 4.695 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.9585, allocations: 181.2 kB / 1.39 GB, free: 4.625 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.9587, allocations: 60.41 kB / 1.39 GB, free: 4.586 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.9587, allocations: 9.781 kB / 1.39 GB, free: 4.586 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.959, allocations: 171.9 kB / 1.39 GB, free: 4.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.959, allocations: 20.23 kB / 1.391 GB, free: 4.484 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.9591, allocations: 54.66 kB / 1.391 GB, free: 4.445 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.9594, allocations: 203.3 kB / 1.391 GB, free: 4.324 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9595, allocations: 1.469 kB / 1.391 GB, free: 4.324 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9595, allocations: 0.6562 kB / 1.391 GB, free: 4.324 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.9595, allocations: 4 kB / 1.391 GB, free: 4.32 MB / 1.092 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.0008049/0.9603, allocations: 470 kB / 1.391 GB, free: 3.875 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.9603, allocations: 14 kB / 1.391 GB, free: 3.871 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.9604, allocations: 41.61 kB / 1.391 GB, free: 3.824 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.9609, allocations: 56 kB / 1.391 GB, free: 3.801 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.9612, allocations: 203.9 kB / 1.392 GB, free: 3.574 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.9612, allocations: 7.875 kB / 1.392 GB, free: 3.57 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.9612, allocations: 13.56 kB / 1.392 GB, free: 3.562 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.9617, allocations: 188.2 kB / 1.392 GB, free: 3.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9617, allocations: 0 / 1.392 GB, free: 3.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.9617, allocations: 1.312 kB / 1.392 GB, free: 3.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9617, allocations: 6.844 kB / 1.392 GB, free: 3.406 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.9622, allocations: 144.4 kB / 1.392 GB, free: 3.336 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9633, allocations: 0.8225 MB / 1.393 GB, free: 2.523 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.9637, allocations: 134.1 kB / 1.393 GB, free: 2.441 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.9639, allocations: 78.83 kB / 1.393 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.964, allocations: 5.094 kB / 1.393 GB, free: 2.395 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.964, allocations: 35.66 kB / 1.393 GB, free: 2.352 MB / 1.092 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.964, allocations: 1.25 kB / 1.393 GB, free: 2.352 MB / 1.092 GB Notification: Performance of matching and sorting (n=8): time 0.001851/0.9658, allocations: 463.9 kB / 1.393 GB, free: 2.051 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.9659, allocations: 52.59 kB / 1.393 GB, free: 1.988 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.966, allocations: 154.4 kB / 1.394 GB, free: 1.859 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.9661, allocations: 34.77 kB / 1.394 GB, free: 1.82 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.9661, allocations: 112.4 kB / 1.394 GB, free: 1.711 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.9662, allocations: 27.81 kB / 1.394 GB, free: 1.688 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.9662, allocations: 34.81 kB / 1.394 GB, free: 1.656 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9664, allocations: 317 kB / 1.394 GB, free: 1.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.9666, allocations: 67.92 kB / 1.394 GB, free: 1.309 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.9669, allocations: 104 kB / 1.394 GB, free: 1.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.9674, allocations: 180.1 kB / 1.394 GB, free: 1.113 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9674, allocations: 0 / 1.394 GB, free: 1.113 MB / 1.092 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001/0.9684, allocations: 283.6 kB / 1.395 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.9685, allocations: 9.281 kB / 1.395 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.9685, allocations: 1.312 kB / 1.395 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.969, allocations: 89.28 kB / 1.395 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9693, allocations: 37.73 kB / 1.395 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.9714, allocations: 1.651 MB / 1.396 GB, free: 15.28 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.9716, allocations: 27.7 kB / 1.396 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.9716, allocations: 7.922 kB / 1.396 GB, free: 15.27 MB / 1.107 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.0001044/0.9717, allocations: 130.7 kB / 1.397 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.9718, allocations: 14.19 kB / 1.397 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.9728, allocations: 311.4 kB / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9728, allocations: 2 kB / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.9728, allocations: 0 / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.9729, allocations: 1.25 kB / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.9731, allocations: 244.8 kB / 1.397 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9731, allocations: 5.078 kB / 1.397 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.9733, allocations: 36.11 kB / 1.397 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.9738, allocations: 73.78 kB / 1.397 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.9738, allocations: 5.188 kB / 1.397 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.9757, allocations: 1.675 MB / 1.399 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9757, allocations: 1.406 kB / 1.399 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.9767, allocations: 384.3 kB / 1.399 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.9768, allocations: 99.73 kB / 1.399 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.9769, allocations: 8.922 kB / 1.399 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.9771, allocations: 21.27 kB / 1.399 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.9771, allocations: 11.92 kB / 1.399 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.9772, allocations: 10.86 kB / 1.399 GB, free: 12.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.9772, allocations: 113.2 kB / 1.399 GB, free: 12.5 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9772, allocations: 1.219 kB / 1.399 GB, free: 12.5 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002952/0.9775, allocations: 52.16 kB / 1.4 GB, free: 12.48 MB / 1.107 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.001362/0.9789, allocations: 0.925 MB / 1.4 GB, free: 11.68 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000838/0.9798, allocations: 313.8 kB / 1.401 GB, free: 11.47 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9798, allocations: 0 / 1.401 GB, free: 11.47 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.9803, allocations: 227.1 kB / 1.401 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.9806, allocations: 35.45 kB / 1.401 GB, free: 11.28 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.9844, allocations: 2.067 MB / 1.403 GB, free: 9.582 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.9847, allocations: 0.7058 MB / 1.404 GB, free: 8.875 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.9848, allocations: 26.78 kB / 1.404 GB, free: 8.859 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.9849, allocations: 34.7 kB / 1.404 GB, free: 8.832 MB / 1.107 GB Notification: Performance of SimCode: time 2.7e-07/0.9849, allocations: 0 / 1.404 GB, free: 8.832 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2862/1.271, allocations: 4.74 MB / 1.408 GB, free: 6.418 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.82, allocations: 25.45 kB / 1.408 GB, free: 6.402 MB / 1.107 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=400 --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