Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001865/0.001865, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001775/0.001775, allocations: 220.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 66.61 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003244/0.37, allocations: 1.878 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.5573, allocations: 136.7 MB / 1.461 GB, free: 6.359 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.5574, allocations: 4 kB / 1.461 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.5576, allocations: 31.67 kB / 1.461 GB, free: 6.324 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.5579, allocations: 83.41 kB / 1.461 GB, free: 6.242 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.5586, allocations: 259.1 kB / 1.462 GB, free: 5.988 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.559, allocations: 267.1 kB / 1.462 GB, free: 5.727 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.5591, allocations: 50.48 kB / 1.462 GB, free: 5.676 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.5606, allocations: 251.2 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.5608, allocations: 91.61 kB / 1.462 GB, free: 5.363 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.5608, allocations: 12 kB / 1.462 GB, free: 5.352 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.5612, allocations: 195.7 kB / 1.462 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.5612, allocations: 43.83 kB / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.5613, allocations: 79.66 kB / 1.463 GB, free: 5.039 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.5618, allocations: 294.8 kB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5618, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5618, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5618, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009918/0.5628, allocations: 465.3 kB / 1.463 GB, free: 4.266 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5628, allocations: 8.031 kB / 1.463 GB, free: 4.258 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.5629, allocations: 54.55 kB / 1.463 GB, free: 4.195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.5641, allocations: 111.7 kB / 1.463 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5644, allocations: 174.1 kB / 1.464 GB, free: 3.891 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.634e-05/0.5645, allocations: 67.72 kB / 1.464 GB, free: 3.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.5646, allocations: 20 kB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.5652, allocations: 314 kB / 1.464 GB, free: 3.445 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5652, allocations: 3.938 kB / 1.464 GB, free: 3.441 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.5652, allocations: 8 kB / 1.464 GB, free: 3.434 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5652, allocations: 4 kB / 1.464 GB, free: 3.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.5657, allocations: 168.3 kB / 1.464 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.5675, allocations: 1.11 MB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.5684, allocations: 194.6 kB / 1.465 GB, free: 1.887 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.5685, allocations: 68.81 kB / 1.465 GB, free: 1.816 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.5686, allocations: 4 kB / 1.465 GB, free: 1.812 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5686, allocations: 30.56 kB / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.5686, allocations: 0 / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002947/0.5715, allocations: 0.4908 MB / 1.466 GB, free: 1.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5716, allocations: 55.41 kB / 1.466 GB, free: 1.203 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.5719, allocations: 222.9 kB / 1.466 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.5719, allocations: 25.7 kB / 1.466 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.572, allocations: 140.2 kB / 1.466 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.5721, allocations: 47.58 kB / 1.466 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.5722, allocations: 45.69 kB / 1.466 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5723, allocations: 326.8 kB / 1.467 GB, free: 384 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5725, allocations: 79.88 kB / 1.467 GB, free: 304 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.5728, allocations: 155.6 kB / 1.467 GB, free: 116 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.5733, allocations: 208.8 kB / 1.467 GB, free: 15.88 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5733, allocations: 4 kB / 1.467 GB, free: 15.88 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001607/0.5749, allocations: 370.8 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5749, allocations: 8 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.5749, allocations: 0 / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.5762, allocations: 165.8 kB / 1.468 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5764, allocations: 35.91 kB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.5807, allocations: 3.03 MB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.5811, allocations: 35.92 kB / 1.471 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.5811, allocations: 8 kB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.5813, allocations: 133.7 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.5814, allocations: 24.05 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.5828, allocations: 378 kB / 1.471 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5828, allocations: 7.984 kB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.5828, allocations: 0 / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5828, allocations: 11.92 kB / 1.471 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.5831, allocations: 224.6 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5831, allocations: 0 / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.5833, allocations: 19.98 kB / 1.472 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009165/0.5842, allocations: 141.6 kB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5842, allocations: 4 kB / 1.472 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.5883, allocations: 3.087 MB / 1.475 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5883, allocations: 0 / 1.475 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.5897, allocations: 428.9 kB / 1.475 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5898, allocations: 39.7 kB / 1.475 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.5898, allocations: 15.94 kB / 1.475 GB, free: 7.168 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.5901, allocations: 11.98 kB / 1.475 GB, free: 7.156 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.5902, allocations: 19.88 kB / 1.475 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.5902, allocations: 4 kB / 1.475 GB, free: 7.133 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002071/0.5904, allocations: 167.1 kB / 1.475 GB, free: 6.969 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5904, allocations: 0 / 1.475 GB, free: 6.969 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004478/0.5909, allocations: 75.92 kB / 1.475 GB, free: 6.895 MB / 1.17 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.5926, allocations: 0.9731 MB / 1.476 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.5937, allocations: 437.7 kB / 1.477 GB, free: 5.434 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5937, allocations: 0 / 1.477 GB, free: 5.434 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.5945, allocations: 359.2 kB / 1.477 GB, free: 5.059 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.5949, allocations: 63.73 kB / 1.477 GB, free: 4.996 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.6006, allocations: 2.522 MB / 1.48 GB, free: 2.344 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.6007, allocations: 128.4 kB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.6009, allocations: 41.97 kB / 1.48 GB, free: 2.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6011, allocations: 51.42 kB / 1.48 GB, free: 2.109 MB / 1.17 GB Notification: Performance of SimCode: time 1.243e-06/0.6011, allocations: 4 kB / 1.48 GB, free: 2.105 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.642, allocations: 8.089 MB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.58, allocations: 7.438 kB / 1.488 GB, free: 10.23 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 20.45317507701111]