Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001276/0.001276, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001485/0.001485, allocations: 215.4 kB / 22.24 MB, free: 5.258 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.812 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.317/3.317, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.002099/0.002099, allocations: 67.88 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4464, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.004286/0.4506, allocations: 1.504 MB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.6173, allocations: 115.8 MB / 1.44 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.6174, allocations: 0 / 1.44 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.6174, allocations: 7.938 kB / 1.44 GB, free: 11.81 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.6175, allocations: 7.922 kB / 1.44 GB, free: 11.8 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.6179, allocations: 63.61 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.6181, allocations: 63.67 kB / 1.441 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.6182, allocations: 11.98 kB / 1.441 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.6182, allocations: 19.92 kB / 1.441 GB, free: 11.65 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.6183, allocations: 27.91 kB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.6183, allocations: 4 kB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.6184, allocations: 27.94 kB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.6184, allocations: 7.984 kB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.6185, allocations: 19.86 kB / 1.441 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.6186, allocations: 55.81 kB / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6186, allocations: 0 / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6186, allocations: 4 kB / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6186, allocations: 3.938 kB / 1.441 GB, free: 11.5 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005833/0.6192, allocations: 306.1 kB / 1.441 GB, free: 11.17 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6193, allocations: 8.031 kB / 1.441 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.6193, allocations: 30.75 kB / 1.441 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.6194, allocations: 8.891 kB / 1.441 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6195, allocations: 118.4 kB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6195, allocations: 4.375 kB / 1.441 GB, free: 10.97 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.6195, allocations: 4.375 kB / 1.441 GB, free: 10.97 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.6198, allocations: 74.22 kB / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6198, allocations: 3.938 kB / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.6198, allocations: 0 / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.6198, allocations: 0 / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.6201, allocations: 71.92 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.6205, allocations: 247.8 kB / 1.442 GB, free: 10.53 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.6207, allocations: 58.53 kB / 1.442 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.6209, allocations: 32.92 kB / 1.442 GB, free: 10.43 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.621, allocations: 15.98 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6211, allocations: 38.55 kB / 1.442 GB, free: 10.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6211, allocations: 0 / 1.442 GB, free: 10.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005678/0.6216, allocations: 137.5 kB / 1.442 GB, free: 10.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.6217, allocations: 55.41 kB / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6218, allocations: 117.8 kB / 1.442 GB, free: 10.04 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6218, allocations: 29.64 kB / 1.442 GB, free: 10 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.6219, allocations: 92.12 kB / 1.442 GB, free: 9.906 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.6219, allocations: 7.906 kB / 1.442 GB, free: 9.898 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.622, allocations: 21.72 kB / 1.442 GB, free: 9.871 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6221, allocations: 322.8 kB / 1.442 GB, free: 9.547 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6223, allocations: 27.97 kB / 1.442 GB, free: 9.52 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.6224, allocations: 31.95 kB / 1.442 GB, free: 9.488 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.6227, allocations: 72.73 kB / 1.443 GB, free: 9.414 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6227, allocations: 0 / 1.443 GB, free: 9.414 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.623, allocations: 97.61 kB / 1.443 GB, free: 9.312 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.623, allocations: 13.5 kB / 1.443 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.623, allocations: 0 / 1.443 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.623, allocations: 0 / 1.443 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.6232, allocations: 19.98 kB / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6232, allocations: 0 / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.6233, allocations: 19.94 kB / 1.443 GB, free: 9.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.6233, allocations: 0 / 1.443 GB, free: 9.262 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/0.6234, allocations: 114.3 kB / 1.443 GB, free: 9.141 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.6234, allocations: 4 kB / 1.443 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.6238, allocations: 113.5 kB / 1.443 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6238, allocations: 0 / 1.443 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.6238, allocations: 0 / 1.443 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6238, allocations: 0 / 1.443 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.624, allocations: 144.7 kB / 1.443 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.624, allocations: 4 kB / 1.443 GB, free: 8.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.6241, allocations: 15.97 kB / 1.443 GB, free: 8.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6241, allocations: 4 kB / 1.443 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.6241, allocations: 0 / 1.443 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6241, allocations: 0 / 1.443 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6241, allocations: 4 kB / 1.443 GB, free: 8.797 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.6245, allocations: 203.3 kB / 1.443 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.6245, allocations: 11.88 kB / 1.443 GB, free: 8.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.6245, allocations: 0 / 1.443 GB, free: 8.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6246, allocations: 11.98 kB / 1.443 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.6246, allocations: 432 / 1.443 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.6246, allocations: 11.98 kB / 1.443 GB, free: 8.547 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.6247, allocations: 91.28 kB / 1.443 GB, free: 8.457 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6247, allocations: 0 / 1.443 GB, free: 8.457 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00023/0.6249, allocations: 12 kB / 1.443 GB, free: 8.445 MB / 1.139 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007843/0.6257, allocations: 0.7396 MB / 1.444 GB, free: 7.68 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.626, allocations: 79.8 kB / 1.444 GB, free: 7.602 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.626, allocations: 0 / 1.444 GB, free: 7.602 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.6262, allocations: 39.89 kB / 1.444 GB, free: 7.562 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.6265, allocations: 15.98 kB / 1.444 GB, free: 7.547 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.6285, allocations: 1.418 MB / 1.446 GB, free: 6.051 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.041e-05/0.6286, allocations: 75.33 kB / 1.446 GB, free: 5.957 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.6286, allocations: 7.906 kB / 1.446 GB, free: 5.949 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.6287, allocations: 11.44 kB / 1.446 GB, free: 5.938 MB / 1.139 GB Notification: Performance of SimCode: time 8.02e-07/0.6287, allocations: 0 / 1.446 GB, free: 5.938 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.6592, allocations: 2.727 MB / 1.448 GB, free: 3.363 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.63, allocations: 4.875 kB / 1.448 GB, free: 3.363 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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: 18.670170700992458]