Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00123/0.00123, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0014/0.0014, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9198/0.9198, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.322e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002438/0.002471, allocations: 1.312 MB / 0.9835 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5989/0.6014, allocations: 115.8 MB / 1.097 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.6014, allocations: 0 / 1.097 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.6014, allocations: 4 kB / 1.097 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.6015, allocations: 15.14 kB / 1.097 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.6018, allocations: 49.77 kB / 1.097 GB, free: 33.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.6019, allocations: 25.86 kB / 1.097 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.6019, allocations: 2.656 kB / 1.097 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.602, allocations: 8.953 kB / 1.097 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.602, allocations: 11.92 kB / 1.097 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.602, allocations: 0 / 1.097 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.6021, allocations: 27.41 kB / 1.097 GB, free: 33.28 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.6021, allocations: 4 kB / 1.097 GB, free: 33.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.6021, allocations: 5.5 kB / 1.097 GB, free: 33.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.6022, allocations: 27.52 kB / 1.097 GB, free: 33.27 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6023, allocations: 0 / 1.097 GB, free: 33.27 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6023, allocations: 0 / 1.097 GB, free: 33.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6023, allocations: 0 / 1.097 GB, free: 33.27 MB / 0.9948 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.0002999/0.6026, allocations: 257.5 kB / 1.097 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.6026, allocations: 8.031 kB / 1.097 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.6026, allocations: 10.17 kB / 1.097 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.317e-05/0.6027, allocations: 112.5 kB / 1.097 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.6027, allocations: 58.91 kB / 1.097 GB, free: 32.81 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.6027, allocations: 384 / 1.097 GB, free: 32.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.6028, allocations: 45.89 kB / 1.097 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.6028, allocations: 192 / 1.097 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.6029, allocations: 7.031 kB / 1.097 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6029, allocations: 4.125 kB / 1.097 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.6029, allocations: 14.75 kB / 1.097 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.222e-05/0.603, allocations: 99.89 kB / 1.097 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.6031, allocations: 32.58 kB / 1.097 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.6031, allocations: 18.91 kB / 1.097 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.6032, allocations: 14.36 kB / 1.097 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.6032, allocations: 30.56 kB / 1.097 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6032, allocations: 0 / 1.097 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001548/0.6034, allocations: 58.47 kB / 1.097 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.6034, allocations: 54.06 kB / 1.097 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.637e-05/0.6034, allocations: 100.4 kB / 1.098 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.6034, allocations: 25.7 kB / 1.098 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-06/0.6034, allocations: 86.92 kB / 1.098 GB, free: 32.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.6034, allocations: 8.656 kB / 1.098 GB, free: 32.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.6035, allocations: 20.73 kB / 1.098 GB, free: 32.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.646e-05/0.6035, allocations: 313.8 kB / 1.098 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.6035, allocations: 6.562 kB / 1.098 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.6035, allocations: 6.031 kB / 1.098 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.6036, allocations: 20.86 kB / 1.098 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6036, allocations: 0 / 1.098 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.212e-05/0.6036, allocations: 55.56 kB / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6037, allocations: 9.812 kB / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6037, allocations: 0 / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.6037, allocations: 0 / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.6037, allocations: 4.734 kB / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6037, allocations: 3.938 kB / 1.098 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.6037, allocations: 14.11 kB / 1.098 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.6037, allocations: 0 / 1.098 GB, free: 31.83 MB / 0.9948 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 3.491e-05/0.6038, allocations: 108.2 kB / 1.098 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-06/0.6038, allocations: 2.969 kB / 1.098 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.6039, allocations: 64.84 kB / 1.098 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6039, allocations: 0 / 1.098 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6039, allocations: 0 / 1.098 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6039, allocations: 7.875 kB / 1.098 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.699e-05/0.6039, allocations: 105.9 kB / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.6039, allocations: 0 / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.6039, allocations: 4.719 kB / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.6039, allocations: 0 / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.604, allocations: 7.562 kB / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.604, allocations: 0 / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.604, allocations: 0 / 1.098 GB, free: 31.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.357e-05/0.604, allocations: 87.69 kB / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.604, allocations: 6.031 kB / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.6041, allocations: 0 / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.6041, allocations: 3.938 kB / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.6041, allocations: 6.219 kB / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.6041, allocations: 0 / 1.099 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.6041, allocations: 86.09 kB / 1.099 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6041, allocations: 0 / 1.099 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001281/0.6042, allocations: 8.188 kB / 1.099 GB, free: 31.36 MB / 0.9948 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.000121/0.6044, allocations: 113.1 kB / 1.099 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.6045, allocations: 24.41 kB / 1.099 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.6045, allocations: 0 / 1.099 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.6045, allocations: 11.59 kB / 1.099 GB, free: 31.26 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.6047, allocations: 8.281 kB / 1.099 GB, free: 31.26 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.6049, allocations: 138.4 kB / 1.099 GB, free: 31.12 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.487e-05/0.6049, allocations: 61.27 kB / 1.099 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.6049, allocations: 15.28 kB / 1.099 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of SimCode: time 4.41e-07/0.6049, allocations: 0 / 1.099 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of Templates: time 0.001413/0.6064, allocations: 0.5938 MB / 1.1 GB, free: 31.01 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.267375753261149]