Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 109.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8809, allocations: 160.7 MB / 1.213 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002963/0.8838, allocations: 1.275 MB / 1.214 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1692/1.053, allocations: 132.4 MB / 1.343 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/1.053, allocations: 0 / 1.343 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/1.053, allocations: 3.984 kB / 1.343 GB, free: 2.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/1.053, allocations: 7.922 kB / 1.343 GB, free: 2.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/1.054, allocations: 63.47 kB / 1.344 GB, free: 1.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.43e-05/1.054, allocations: 27.86 kB / 1.344 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/1.054, allocations: 0 / 1.344 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/1.054, allocations: 11.98 kB / 1.344 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/1.054, allocations: 11.94 kB / 1.344 GB, free: 1.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/1.054, allocations: 0 / 1.344 GB, free: 1.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/1.054, allocations: 19.92 kB / 1.344 GB, free: 1.902 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/1.054, allocations: 3.984 kB / 1.344 GB, free: 1.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/1.054, allocations: 4 kB / 1.344 GB, free: 1.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/1.054, allocations: 23.92 kB / 1.344 GB, free: 1.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.054, allocations: 4 kB / 1.344 GB, free: 1.867 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/1.054, allocations: 0 / 1.344 GB, free: 1.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.468e-06/1.054, allocations: 0 / 1.344 GB, free: 1.867 MB / 1.045 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.0004569/1.054, allocations: 333.4 kB / 1.344 GB, free: 1.492 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.055, allocations: 12.92 kB / 1.344 GB, free: 1.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/1.055, allocations: 34.73 kB / 1.344 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/1.055, allocations: 0.9375 kB / 1.344 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/1.055, allocations: 168.3 kB / 1.344 GB, free: 1.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/1.055, allocations: 30.27 kB / 1.344 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/1.055, allocations: 8.375 kB / 1.344 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/1.055, allocations: 38 kB / 1.344 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.055, allocations: 0 / 1.344 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/1.055, allocations: 3.938 kB / 1.344 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.055, allocations: 4 kB / 1.344 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/1.055, allocations: 11.98 kB / 1.344 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/1.055, allocations: 157.6 kB / 1.344 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/1.055, allocations: 30.61 kB / 1.344 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/1.055, allocations: 16.86 kB / 1.344 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.056, allocations: 89.19 kB / 1.345 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/1.056, allocations: 34.5 kB / 1.345 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.056, allocations: 0 / 1.345 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000252/1.056, allocations: 65.59 kB / 1.345 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.056, allocations: 55.41 kB / 1.345 GB, free: 0.582 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/1.056, allocations: 93.86 kB / 1.345 GB, free: 492 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.056, allocations: 29.7 kB / 1.345 GB, free: 456 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/1.056, allocations: 84.12 kB / 1.345 GB, free: 368 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/1.056, allocations: 11.91 kB / 1.345 GB, free: 356 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/1.056, allocations: 17.66 kB / 1.345 GB, free: 332 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.056, allocations: 310.8 kB / 1.345 GB, free: 12 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/1.056, allocations: 16.05 kB / 1.345 GB, free: 15.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/1.056, allocations: 4 kB / 1.345 GB, free: 15.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/1.057, allocations: 28.72 kB / 1.345 GB, free: 15.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.057, allocations: 0 / 1.345 GB, free: 15.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001311/1.057, allocations: 45.69 kB / 1.345 GB, free: 15.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.057, allocations: 11.94 kB / 1.345 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.057, allocations: 0 / 1.345 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.057, allocations: 4 kB / 1.345 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/1.057, allocations: 7.984 kB / 1.345 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.057, allocations: 0 / 1.345 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/1.057, allocations: 7.938 kB / 1.345 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/1.057, allocations: 0 / 1.345 GB, free: 15.88 MB / 1.061 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 8.514e-05/1.057, allocations: 105.8 kB / 1.345 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/1.057, allocations: 7.938 kB / 1.345 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/1.057, allocations: 61.11 kB / 1.345 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.057, allocations: 4 kB / 1.346 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.057, allocations: 4 kB / 1.346 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.057, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.057, allocations: 157.7 kB / 1.346 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.057, allocations: 4 kB / 1.346 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/1.057, allocations: 4 kB / 1.346 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.057, allocations: 7.922 kB / 1.346 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/1.057, allocations: 3.938 kB / 1.346 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.057, allocations: 0 / 1.346 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.057, allocations: 0 / 1.346 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.057, allocations: 81.02 kB / 1.346 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/1.058, allocations: 89.64 kB / 1.346 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/1.058, allocations: 4 kB / 1.346 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/1.058, allocations: 0 / 1.346 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/1.058, allocations: 0 / 1.346 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/1.058, allocations: 4 kB / 1.346 GB, free: 15.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.589e-05/1.058, allocations: 83.25 kB / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.058, allocations: 4 kB / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001918/1.058, allocations: 8 kB / 1.346 GB, free: 15.15 MB / 1.061 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.0005443/1.058, allocations: 0.6267 MB / 1.347 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001536/1.059, allocations: 23.92 kB / 1.347 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.059, allocations: 8 kB / 1.347 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/1.059, allocations: 7.984 kB / 1.347 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/1.059, allocations: 17.98 kB / 1.347 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/1.059, allocations: 157.2 kB / 1.347 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.06, allocations: 0.6729 MB / 1.347 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.307e-05/1.06, allocations: 11.98 kB / 1.347 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/1.06, allocations: 7.438 kB / 1.347 GB, free: 13.53 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.06, allocations: 0 / 1.347 GB, free: 13.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/1.085, allocations: 1.377 MB / 1.349 GB, free: 12.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.374, allocations: 5.203 kB / 1.349 GB, free: 12.27 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.133476305287331]