Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001918/0.001918, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002703/0.002703, allocations: 216.5 kB / 22.26 MB, free: 5.121 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.988 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.481/3.481, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.002029/0.002029, allocations: 71.53 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4069, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002842/0.4098, allocations: 1.294 MB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.597, allocations: 135.2 MB / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.5971, allocations: 0 / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.5971, allocations: 0 / 1.486 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.5972, allocations: 7.922 kB / 1.486 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.5978, allocations: 71.94 kB / 1.486 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.598, allocations: 19.88 kB / 1.486 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.598, allocations: 7.984 kB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.5981, allocations: 4 kB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.5982, allocations: 7.938 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.5982, allocations: 3.984 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.5984, allocations: 31.91 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.5984, allocations: 4 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.5984, allocations: 11.94 kB / 1.486 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.5986, allocations: 15.98 kB / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5986, allocations: 4 kB / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.846e-06/0.5986, allocations: 0 / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.5986, allocations: 0 / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006356/0.5993, allocations: 266.2 kB / 1.487 GB, free: 14.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/0.5993, allocations: 12.03 kB / 1.487 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.5994, allocations: 34.75 kB / 1.487 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.5996, allocations: 4.938 kB / 1.487 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.5998, allocations: 118.4 kB / 1.487 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5999, allocations: 63.91 kB / 1.487 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.5999, allocations: 384 / 1.487 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6001, allocations: 42 kB / 1.487 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6001, allocations: 0 / 1.487 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6001, allocations: 4 kB / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6001, allocations: 0 / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.6002, allocations: 11.98 kB / 1.487 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.6005, allocations: 132.7 kB / 1.487 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.6006, allocations: 30.52 kB / 1.487 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.6007, allocations: 16.94 kB / 1.487 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.6007, allocations: 3.984 kB / 1.487 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6007, allocations: 34.5 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6007, allocations: 4 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0002782/0.601, allocations: 53.67 kB / 1.487 GB, free: 14.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.6011, allocations: 63.34 kB / 1.487 GB, free: 14.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.6011, allocations: 93.86 kB / 1.487 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.6012, allocations: 25.7 kB / 1.487 GB, free: 14.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.6012, allocations: 80.14 kB / 1.487 GB, free: 13.96 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.6013, allocations: 19.92 kB / 1.487 GB, free: 13.94 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.6013, allocations: 13.67 kB / 1.487 GB, free: 13.92 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6015, allocations: 314.8 kB / 1.488 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.6016, allocations: 12 kB / 1.488 GB, free: 13.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.6016, allocations: 11.98 kB / 1.488 GB, free: 13.58 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.206e-05/0.6017, allocations: 20.84 kB / 1.488 GB, free: 13.56 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.6017, allocations: 4 kB / 1.488 GB, free: 13.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001512/0.6019, allocations: 49.62 kB / 1.488 GB, free: 13.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6019, allocations: 7.938 kB / 1.488 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6019, allocations: 0 / 1.488 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6019, allocations: 4 kB / 1.488 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.602, allocations: 4 kB / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.602, allocations: 4 kB / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.6021, allocations: 7.922 kB / 1.488 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.6021, allocations: 0 / 1.488 GB, free: 13.47 MB / 1.186 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 0.0001219/0.6022, allocations: 117.8 kB / 1.488 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.6022, allocations: 3.938 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.6022, allocations: 3.688 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6022, allocations: 4 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6022, allocations: 0 / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6022, allocations: 0 / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.6024, allocations: 128.8 kB / 1.488 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6024, allocations: 0 / 1.488 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.6025, allocations: 4 kB / 1.488 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.6025, allocations: 11.86 kB / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.6025, allocations: 0 / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6025, allocations: 4 kB / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6025, allocations: 0 / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.6027, allocations: 77.58 kB / 1.488 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.6027, allocations: 11.89 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.6027, allocations: 3.984 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.6028, allocations: 0 / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.6028, allocations: 4 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6028, allocations: 4 kB / 1.488 GB, free: 13.03 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.6029, allocations: 83.31 kB / 1.488 GB, free: 12.95 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6029, allocations: 0 / 1.488 GB, free: 12.95 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000188/0.6031, allocations: 4 kB / 1.488 GB, free: 12.95 MB / 1.186 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.0005263/0.6036, allocations: 0.6124 MB / 1.489 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.6038, allocations: 19.98 kB / 1.489 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6038, allocations: 4 kB / 1.489 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.6038, allocations: 7.984 kB / 1.489 GB, free: 12.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.6041, allocations: 13.56 kB / 1.489 GB, free: 12.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.6047, allocations: 157.8 kB / 1.489 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.605, allocations: 0.6768 MB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.6051, allocations: 4 kB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.6051, allocations: 7.438 kB / 1.49 GB, free: 11.35 MB / 1.186 GB Notification: Performance of SimCode: time 2.81e-07/0.6051, allocations: 0 / 1.49 GB, free: 11.35 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.6362, allocations: 1.375 MB / 1.491 GB, free: 10.11 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.68, allocations: 9.219 kB / 1.491 GB, free: 10.11 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.98956734291278]