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.001536/0.001537, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001576/0.001576, allocations: 194.2 kB / 20.03 MB, free: 3.059 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: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.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.661/2.661, allocations: 437.1 MB / 0.7177 GB, free: 4.777 MB / 0.5606 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002339/0.3368, allocations: 1.276 MB / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8374/1.174, allocations: 132 MB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/1.174, allocations: 0 / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/1.174, allocations: 1.25 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/1.174, allocations: 10.78 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/1.175, allocations: 65.05 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/1.175, allocations: 23.81 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/1.175, allocations: 5.609 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/1.175, allocations: 7.531 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/1.175, allocations: 8.641 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/1.175, allocations: 1.25 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/1.175, allocations: 14.3 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/1.175, allocations: 5.922 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/1.175, allocations: 15.52 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/1.175, allocations: 20.92 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/1.175, allocations: 0 / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/1.175, allocations: 0 / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.175, allocations: 1.625 kB / 1.306 GB, free: 15.06 MB / 1.014 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.000449/1.176, allocations: 336.7 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.176, allocations: 10.7 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/1.176, allocations: 2.25 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.176, allocations: 170.9 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.176, allocations: 35.45 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.176, allocations: 384 / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.176, allocations: 39.17 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.176, allocations: 5.156 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/1.176, allocations: 0 / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.176, allocations: 0 / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/1.176, allocations: 17.02 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/1.177, allocations: 151.8 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.177, allocations: 38.28 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/1.177, allocations: 11.36 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/1.177, allocations: 92.59 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/1.177, allocations: 32.53 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.177, allocations: 0 / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002342/1.177, allocations: 61.83 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.177, allocations: 51.41 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/1.177, allocations: 107.3 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/1.177, allocations: 25.7 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/1.177, allocations: 85.34 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/1.177, allocations: 13.12 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/1.177, allocations: 13.7 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.178, allocations: 321.1 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/1.178, allocations: 8.109 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/1.178, allocations: 8.203 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/1.178, allocations: 21.33 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.178, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001279/1.178, allocations: 48.22 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.178, allocations: 8.75 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.178, allocations: 1.188 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.178, allocations: 11.48 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/1.178, allocations: 6.422 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.178, allocations: 1 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/1.178, allocations: 9.391 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/1.178, allocations: 1.188 kB / 1.308 GB, free: 13.35 MB / 1.014 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 7.83e-05/1.178, allocations: 108.2 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/1.178, allocations: 6.016 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/1.178, allocations: 56.19 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.178, allocations: 5.219 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.178, allocations: 0.6094 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.178, allocations: 1.219 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/1.179, allocations: 155.3 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.179, allocations: 1.281 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/1.179, allocations: 9.641 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.179, allocations: 5.219 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/1.179, allocations: 0.5625 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.179, allocations: 0 / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.179, allocations: 1.891 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/1.179, allocations: 80.42 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/1.179, allocations: 80.16 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/1.179, allocations: 6.156 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/1.179, allocations: 2.031 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/1.179, allocations: 2.953 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/1.179, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.8e-05/1.179, allocations: 83.17 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.179, allocations: 4 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000186/1.179, allocations: 10 kB / 1.308 GB, free: 12.75 MB / 1.014 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.0001575/1.179, allocations: 114.4 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001435/1.18, allocations: 20.44 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.18, allocations: 0 / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/1.18, allocations: 13.92 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/1.18, allocations: 13.83 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/1.18, allocations: 150 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.181, allocations: 0.6765 MB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/1.181, allocations: 9.781 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.181, allocations: 0 / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of Templates: time 0.002221/1.183, allocations: 0.5707 MB / 1.31 GB, free: 11.77 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] 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: 11.122245840029791]