Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001305/0.001305, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001442/0.001442, allocations: 216.1 kB / 22.25 MB, free: 5.113 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.289/3.289, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.002909/0.002909, allocations: 73.56 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3462, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003604/0.3498, allocations: 1.953 MB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2016/0.5515, allocations: 158.9 MB / 1.51 GB, free: 7.062 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.5517, allocations: 11.88 kB / 1.51 GB, free: 7.051 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.552, allocations: 31.72 kB / 1.51 GB, free: 7.02 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.5524, allocations: 75.42 kB / 1.51 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.5533, allocations: 275.1 kB / 1.51 GB, free: 6.676 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.5537, allocations: 259.2 kB / 1.511 GB, free: 6.422 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.5539, allocations: 50.53 kB / 1.511 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.5556, allocations: 259.7 kB / 1.511 GB, free: 6.145 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.5559, allocations: 95.59 kB / 1.511 GB, free: 6.051 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.5559, allocations: 16 kB / 1.511 GB, free: 6.035 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.5565, allocations: 195.7 kB / 1.511 GB, free: 5.844 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.5566, allocations: 43.83 kB / 1.511 GB, free: 5.801 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.5567, allocations: 95.52 kB / 1.511 GB, free: 5.707 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.5574, allocations: 290.9 kB / 1.512 GB, free: 5.422 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5574, allocations: 3.938 kB / 1.512 GB, free: 5.418 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5574, allocations: 0 / 1.512 GB, free: 5.418 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.5574, allocations: 0 / 1.512 GB, free: 5.418 MB / 1.201 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.001219/0.5587, allocations: 469.2 kB / 1.512 GB, free: 4.93 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.5587, allocations: 8.031 kB / 1.512 GB, free: 4.922 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.5588, allocations: 54.55 kB / 1.512 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5602, allocations: 111.7 kB / 1.512 GB, free: 4.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.5606, allocations: 174 kB / 1.512 GB, free: 4.555 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5607, allocations: 67.72 kB / 1.512 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.5608, allocations: 16 kB / 1.512 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.5614, allocations: 262.5 kB / 1.513 GB, free: 4.176 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5614, allocations: 4 kB / 1.513 GB, free: 4.172 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5615, allocations: 8 kB / 1.513 GB, free: 4.164 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5615, allocations: 4 kB / 1.513 GB, free: 4.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.562, allocations: 167.8 kB / 1.513 GB, free: 3.996 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.5641, allocations: 1.148 MB / 1.514 GB, free: 2.777 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.5648, allocations: 194.7 kB / 1.514 GB, free: 2.578 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.5651, allocations: 72.8 kB / 1.514 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.5651, allocations: 3.938 kB / 1.514 GB, free: 2.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.5651, allocations: 42.5 kB / 1.514 GB, free: 2.449 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 2.335e-06/0.5651, allocations: 0 / 1.514 GB, free: 2.449 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002803/0.5679, allocations: 490.7 kB / 1.515 GB, free: 1.957 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.568, allocations: 55.41 kB / 1.515 GB, free: 1.891 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.5683, allocations: 218.7 kB / 1.515 GB, free: 1.668 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.5683, allocations: 33.64 kB / 1.515 GB, free: 1.629 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5684, allocations: 144.2 kB / 1.515 GB, free: 1.484 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.5685, allocations: 39.69 kB / 1.515 GB, free: 1.445 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5686, allocations: 49.64 kB / 1.515 GB, free: 1.391 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5687, allocations: 330.8 kB / 1.516 GB, free: 1.059 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5689, allocations: 71.94 kB / 1.516 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5692, allocations: 129.3 kB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.5697, allocations: 206.7 kB / 1.516 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5697, allocations: 0 / 1.516 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001594/0.5713, allocations: 372.5 kB / 1.516 GB, free: 240 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5713, allocations: 8 kB / 1.516 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5713, allocations: 0 / 1.516 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.5725, allocations: 169.7 kB / 1.516 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.5727, allocations: 31.97 kB / 1.516 GB, free: 24 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.5772, allocations: 3.037 MB / 1.519 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.5776, allocations: 39.83 kB / 1.519 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.5776, allocations: 12.06 kB / 1.519 GB, free: 12.7 MB / 1.217 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.0001612/0.5778, allocations: 138.4 kB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.5779, allocations: 19.86 kB / 1.52 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.5794, allocations: 360.4 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5794, allocations: 4 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.5794, allocations: 0 / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5794, allocations: 3.984 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.5798, allocations: 252.3 kB / 1.52 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5798, allocations: 7.938 kB / 1.52 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.5799, allocations: 24.17 kB / 1.52 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008965/0.5808, allocations: 145.5 kB / 1.52 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5808, allocations: 4 kB / 1.52 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.585, allocations: 3.098 MB / 1.523 GB, free: 8.352 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.585, allocations: 0 / 1.523 GB, free: 8.352 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.5864, allocations: 430.7 kB / 1.524 GB, free: 7.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5865, allocations: 43.7 kB / 1.524 GB, free: 7.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.5865, allocations: 4 kB / 1.524 GB, free: 7.863 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.5868, allocations: 23.92 kB / 1.524 GB, free: 7.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5869, allocations: 15.97 kB / 1.524 GB, free: 7.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.5869, allocations: 11.98 kB / 1.524 GB, free: 7.812 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002276/0.5871, allocations: 155.9 kB / 1.524 GB, free: 7.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5871, allocations: 0 / 1.524 GB, free: 7.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000441/0.5876, allocations: 71.94 kB / 1.524 GB, free: 7.59 MB / 1.217 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.001762/0.5893, allocations: 0.9729 MB / 1.525 GB, free: 6.582 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.5905, allocations: 440.9 kB / 1.526 GB, free: 6.129 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5905, allocations: 0 / 1.526 GB, free: 6.129 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.5913, allocations: 357.1 kB / 1.526 GB, free: 5.754 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.5917, allocations: 73.25 kB / 1.526 GB, free: 5.684 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.5973, allocations: 2.514 MB / 1.528 GB, free: 3.023 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.5978, allocations: 0.7478 MB / 1.529 GB, free: 2.25 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.598, allocations: 37.92 kB / 1.529 GB, free: 2.215 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5981, allocations: 55.41 kB / 1.529 GB, free: 2.164 MB / 1.217 GB Notification: Performance of SimCode: time 6.92e-07/0.5981, allocations: 0 / 1.529 GB, free: 2.164 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04348/0.6415, allocations: 7.524 MB / 1.537 GB, free: 10.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.62, allocations: 12.69 kB / 1.537 GB, free: 10.82 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.503526540938765]