Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.9 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.997e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002262/0.002282, allocations: 1.659 MB / 0.9826 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5354/0.5377, allocations: 131.5 MB / 1.111 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.5378, allocations: 1.156 kB / 1.111 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.538, allocations: 26.16 kB / 1.111 GB, free: 23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.5383, allocations: 58.64 kB / 1.111 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.5386, allocations: 198.7 kB / 1.111 GB, free: 22.86 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.5388, allocations: 166.1 kB / 1.111 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.5389, allocations: 23.64 kB / 1.111 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007838/0.5397, allocations: 223.4 kB / 1.112 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.5398, allocations: 50.19 kB / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.5398, allocations: 13.53 kB / 1.112 GB, free: 22.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.54, allocations: 156.4 kB / 1.112 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.54, allocations: 21.7 kB / 1.112 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.5401, allocations: 48.92 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.5404, allocations: 232.2 kB / 1.112 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5404, allocations: 0 / 1.112 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5404, allocations: 2.016 kB / 1.112 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5404, allocations: 0 / 1.112 GB, free: 22.54 MB / 0.9948 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.0005422/0.541, allocations: 399.7 kB / 1.113 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.541, allocations: 8.625 kB / 1.113 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.541, allocations: 38.88 kB / 1.113 GB, free: 22.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.5415, allocations: 83.5 kB / 1.113 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.5416, allocations: 155.3 kB / 1.113 GB, free: 22 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5417, allocations: 6.281 kB / 1.113 GB, free: 22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.5417, allocations: 9.594 kB / 1.113 GB, free: 22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.542, allocations: 177 kB / 1.113 GB, free: 21.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.542, allocations: 3.938 kB / 1.113 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.542, allocations: 9.25 kB / 1.113 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.542, allocations: 2.625 kB / 1.113 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.5423, allocations: 140.3 kB / 1.113 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.5429, allocations: 0.7213 MB / 1.114 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.5431, allocations: 127.1 kB / 1.114 GB, free: 21.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.5433, allocations: 78.7 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.5433, allocations: 1.375 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.5433, allocations: 36.55 kB / 1.114 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.5433, allocations: 0 / 1.114 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.5443, allocations: 381.5 kB / 1.114 GB, free: 20.99 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.5444, allocations: 53.34 kB / 1.115 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.5444, allocations: 161.1 kB / 1.115 GB, free: 20.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.5445, allocations: 29.7 kB / 1.115 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.5445, allocations: 112.4 kB / 1.115 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.5445, allocations: 29.2 kB / 1.115 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.5446, allocations: 32.88 kB / 1.115 GB, free: 20.62 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.5446, allocations: 324.7 kB / 1.115 GB, free: 20.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.5447, allocations: 68.62 kB / 1.115 GB, free: 20.28 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5449, allocations: 113.9 kB / 1.115 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.5452, allocations: 174 kB / 1.116 GB, free: 20.13 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5452, allocations: 0 / 1.116 GB, free: 20.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005519/0.5457, allocations: 275.8 kB / 1.116 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5457, allocations: 5.844 kB / 1.116 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5457, allocations: 2.781 kB / 1.116 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.5461, allocations: 88.27 kB / 1.116 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5462, allocations: 34.84 kB / 1.116 GB, free: 20.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.5473, allocations: 1.551 MB / 1.117 GB, free: 18.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5474, allocations: 28.36 kB / 1.117 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5474, allocations: 6.547 kB / 1.117 GB, free: 18.62 MB / 0.9948 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 6.022e-05/0.5475, allocations: 119.7 kB / 1.118 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.5475, allocations: 14.31 kB / 1.118 GB, free: 18.49 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.5481, allocations: 310.1 kB / 1.118 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5481, allocations: 2.562 kB / 1.118 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.5481, allocations: 0 / 1.118 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5481, allocations: 4.734 kB / 1.118 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.5482, allocations: 199.5 kB / 1.118 GB, free: 18.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5482, allocations: 3.938 kB / 1.118 GB, free: 18.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.5483, allocations: 34.59 kB / 1.118 GB, free: 18.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.5485, allocations: 72.69 kB / 1.118 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5485, allocations: 2.859 kB / 1.118 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/0.5494, allocations: 1.582 MB / 1.12 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5494, allocations: 0 / 1.12 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.55, allocations: 384.1 kB / 1.12 GB, free: 16.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.55, allocations: 33.84 kB / 1.12 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.55, allocations: 1.766 kB / 1.12 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.5501, allocations: 18.67 kB / 1.12 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.5502, allocations: 12.72 kB / 1.12 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5502, allocations: 4.156 kB / 1.12 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.5502, allocations: 123.8 kB / 1.12 GB, free: 16.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5502, allocations: 0 / 1.12 GB, free: 16.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002173/0.5504, allocations: 45.41 kB / 1.12 GB, free: 16.42 MB / 0.9948 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.0006785/0.5511, allocations: 0.9167 MB / 1.121 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.5516, allocations: 305.4 kB / 1.122 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.5516, allocations: 0 / 1.122 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.5519, allocations: 228.3 kB / 1.122 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.5521, allocations: 34.91 kB / 1.122 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.5542, allocations: 2.056 MB / 1.124 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.5543, allocations: 98.47 kB / 1.124 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.5544, allocations: 26.48 kB / 1.124 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.5545, allocations: 38 kB / 1.124 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of SimCode: time 7.71e-07/0.5545, allocations: 0 / 1.124 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.579, allocations: 5.5 MB / 1.129 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.365, allocations: 9.906 kB / 1.129 GB, free: 12.59 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.345293000340462]