Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008276/0.0008276, 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.000918/0.000918, 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.8733/0.8733, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.717e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001982/0.001999, allocations: 1.669 MB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5369/0.5389, allocations: 131.5 MB / 1.081 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.5389, allocations: 0 / 1.081 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.5391, allocations: 22.31 kB / 1.081 GB, free: 40 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.5393, allocations: 57.88 kB / 1.081 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.5396, allocations: 193.5 kB / 1.081 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.5398, allocations: 172 kB / 1.081 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.5399, allocations: 25.38 kB / 1.081 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.5407, allocations: 220.4 kB / 1.081 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.5407, allocations: 53.56 kB / 1.081 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5408, allocations: 7.938 kB / 1.081 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.5409, allocations: 166.5 kB / 1.081 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.541, allocations: 27.03 kB / 1.081 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.541, allocations: 39.97 kB / 1.082 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.5413, allocations: 231.7 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.5413, allocations: 0 / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5413, allocations: 3.234 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5413, allocations: 0 / 1.082 GB, free: 39.92 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.0005364/0.5418, allocations: 391.3 kB / 1.082 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5419, allocations: 11.34 kB / 1.082 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.5419, allocations: 43.12 kB / 1.082 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.5423, allocations: 76.86 kB / 1.082 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.5425, allocations: 152.5 kB / 1.082 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.5425, allocations: 9.188 kB / 1.082 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5425, allocations: 2.438 kB / 1.082 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.5427, allocations: 189.6 kB / 1.083 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5428, allocations: 1.062 kB / 1.083 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.5428, allocations: 2.969 kB / 1.083 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5428, allocations: 0 / 1.083 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.543, allocations: 148.1 kB / 1.083 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.5436, allocations: 0.7083 MB / 1.083 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.5438, allocations: 130.9 kB / 1.084 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.5439, allocations: 75.44 kB / 1.084 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.5439, allocations: 5.938 kB / 1.084 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.5439, allocations: 32.98 kB / 1.084 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.5439, allocations: 0 / 1.084 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0009291/0.5449, allocations: 387.4 kB / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.5449, allocations: 55.44 kB / 1.084 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.545, allocations: 148.2 kB / 1.084 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.545, allocations: 25.7 kB / 1.084 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.545, allocations: 116.8 kB / 1.084 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.545, allocations: 25.22 kB / 1.084 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.5451, allocations: 35.77 kB / 1.084 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.761e-05/0.5451, allocations: 324.4 kB / 1.085 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5452, allocations: 74.75 kB / 1.085 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5454, allocations: 102.1 kB / 1.085 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.5456, allocations: 183.8 kB / 1.085 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5456, allocations: 6.406 kB / 1.085 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000493/0.5461, allocations: 274.8 kB / 1.085 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5461, allocations: 7.375 kB / 1.085 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5461, allocations: 6 kB / 1.085 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.5464, allocations: 83.59 kB / 1.085 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.5465, allocations: 37.8 kB / 1.085 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5475, allocations: 1.552 MB / 1.087 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.5476, allocations: 26.23 kB / 1.087 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5476, allocations: 6.906 kB / 1.087 GB, free: 36.53 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 5.924e-05/0.5477, allocations: 129.3 kB / 1.087 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.5477, allocations: 9.828 kB / 1.087 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.5482, allocations: 308.9 kB / 1.087 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5482, allocations: 0 / 1.087 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.5482, allocations: 6.75 kB / 1.087 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5482, allocations: 8.469 kB / 1.087 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5484, allocations: 193.6 kB / 1.088 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5484, allocations: 0 / 1.088 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.5485, allocations: 31.61 kB / 1.088 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.5486, allocations: 74.11 kB / 1.088 GB, free: 36.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.5487, allocations: 10.23 kB / 1.088 GB, free: 36.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008067/0.5495, allocations: 1.573 MB / 1.089 GB, free: 34.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5495, allocations: 2.844 kB / 1.089 GB, free: 34.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.5499, allocations: 378.4 kB / 1.09 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.55, allocations: 33.3 kB / 1.09 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.55, allocations: 5.281 kB / 1.09 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.5501, allocations: 23.73 kB / 1.09 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.5501, allocations: 15.08 kB / 1.09 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5502, allocations: 2.875 kB / 1.09 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.5502, allocations: 116.8 kB / 1.09 GB, free: 34.65 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5502, allocations: 0 / 1.09 GB, free: 34.65 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002151/0.5504, allocations: 48.11 kB / 1.09 GB, free: 34.65 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.0006334/0.551, allocations: 0.917 MB / 1.091 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.5515, allocations: 299.4 kB / 1.091 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5515, allocations: 256 / 1.091 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.5517, allocations: 228.5 kB / 1.091 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5519, allocations: 30.5 kB / 1.091 GB, free: 33.72 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.5538, allocations: 2.058 MB / 1.093 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.5539, allocations: 95.05 kB / 1.093 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.2e-05/0.5539, allocations: 31.12 kB / 1.093 GB, free: 32.33 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.554, allocations: 38.78 kB / 1.093 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of SimCode: time 6.01e-07/0.554, allocations: 0 / 1.093 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.5727, allocations: 5.489 MB / 1.099 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.615, allocations: 14.88 kB / 1.099 GB, free: 31.15 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.49400289170444]