Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00134/0.00134, allocations: 110 kB / 18.93 MB, free: 2.945 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.001617/0.001617, allocations: 192 kB / 22.23 MB, free: 5.16 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.398/1.398, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7646 GB, free: 9.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7952, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002559/0.7978, allocations: 1.292 MB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.9534, allocations: 132.4 MB / 1.405 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.9534, allocations: 7.828 kB / 1.405 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.9534, allocations: 3.938 kB / 1.405 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.9535, allocations: 3.984 kB / 1.405 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.9538, allocations: 59.47 kB / 1.405 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.9539, allocations: 19.92 kB / 1.405 GB, free: 13.91 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.954, allocations: 0 / 1.405 GB, free: 13.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.954, allocations: 15.92 kB / 1.405 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.9541, allocations: 7.938 kB / 1.405 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.9541, allocations: 4 kB / 1.405 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.9542, allocations: 15.98 kB / 1.405 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.9542, allocations: 7.984 kB / 1.405 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.9542, allocations: 11.94 kB / 1.405 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.9543, allocations: 15.98 kB / 1.405 GB, free: 13.83 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9543, allocations: 0 / 1.405 GB, free: 13.83 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9543, allocations: 0 / 1.405 GB, free: 13.83 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.9543, allocations: 0 / 1.405 GB, free: 13.83 MB / 1.107 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.0004015/0.9547, allocations: 256.9 kB / 1.405 GB, free: 13.55 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.9548, allocations: 16.02 kB / 1.405 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.9548, allocations: 4.891 kB / 1.405 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.9549, allocations: 114.5 kB / 1.405 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.955, allocations: 30.27 kB / 1.405 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.955, allocations: 8.312 kB / 1.405 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.9551, allocations: 38.19 kB / 1.406 GB, free: 13.31 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.9551, allocations: 3.938 kB / 1.406 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.9551, allocations: 0 / 1.406 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.9552, allocations: 0 / 1.406 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.9552, allocations: 15.98 kB / 1.406 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.9554, allocations: 132.8 kB / 1.406 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.9555, allocations: 30.56 kB / 1.406 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.9556, allocations: 12.86 kB / 1.406 GB, free: 13.06 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.9557, allocations: 12.08 kB / 1.406 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.9557, allocations: 38.44 kB / 1.406 GB, free: 13 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.9557, allocations: 4 kB / 1.406 GB, free: 13 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002511/0.956, allocations: 61.61 kB / 1.406 GB, free: 12.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.956, allocations: 55.41 kB / 1.406 GB, free: 12.87 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.9561, allocations: 93.86 kB / 1.406 GB, free: 12.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.9561, allocations: 25.7 kB / 1.406 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.9562, allocations: 80.14 kB / 1.406 GB, free: 12.65 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.9562, allocations: 15.89 kB / 1.406 GB, free: 12.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.9562, allocations: 13.72 kB / 1.406 GB, free: 12.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9564, allocations: 318.8 kB / 1.406 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.9564, allocations: 4 kB / 1.406 GB, free: 12.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/0.9564, allocations: 7.984 kB / 1.406 GB, free: 12.29 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.74e-05/0.9565, allocations: 28.78 kB / 1.406 GB, free: 12.25 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9565, allocations: 0 / 1.406 GB, free: 12.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/0.9567, allocations: 46.16 kB / 1.406 GB, free: 12.2 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9567, allocations: 11.94 kB / 1.406 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9567, allocations: 4 kB / 1.406 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9567, allocations: 0 / 1.406 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.9568, allocations: 7.984 kB / 1.406 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.9568, allocations: 0 / 1.406 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.9568, allocations: 4 kB / 1.406 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.9568, allocations: 0 / 1.406 GB, free: 12.18 MB / 1.107 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.866e-05/0.9569, allocations: 109.8 kB / 1.407 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.9569, allocations: 15.91 kB / 1.407 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.9571, allocations: 57.36 kB / 1.407 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9571, allocations: 0 / 1.407 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9571, allocations: 3.938 kB / 1.407 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9571, allocations: 0 / 1.407 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.9572, allocations: 136.7 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.9572, allocations: 0 / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.9573, allocations: 4 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9573, allocations: 3.938 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.9573, allocations: 0 / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9573, allocations: 4 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9573, allocations: 4 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.9574, allocations: 85 kB / 1.407 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.9575, allocations: 4 kB / 1.407 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.9575, allocations: 3.938 kB / 1.407 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.9575, allocations: 3.984 kB / 1.407 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.9575, allocations: 4 kB / 1.407 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.9576, allocations: 0 / 1.407 GB, free: 11.67 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.9576, allocations: 83.28 kB / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9576, allocations: 7.938 kB / 1.407 GB, free: 11.58 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001944/0.9578, allocations: 8 kB / 1.407 GB, free: 11.57 MB / 1.107 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.0001605/0.9579, allocations: 107.2 kB / 1.407 GB, free: 11.45 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.9581, allocations: 27.91 kB / 1.407 GB, free: 11.43 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9581, allocations: 0 / 1.407 GB, free: 11.43 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.9581, allocations: 8 kB / 1.407 GB, free: 11.42 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.9584, allocations: 11.98 kB / 1.407 GB, free: 11.41 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.9587, allocations: 130.3 kB / 1.407 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.959, allocations: 0.6729 MB / 1.408 GB, free: 10.55 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.9591, allocations: 4 kB / 1.408 GB, free: 10.55 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.9591, allocations: 15.42 kB / 1.408 GB, free: 10.54 MB / 1.107 GB Notification: Performance of SimCode: time 2.91e-07/0.9591, allocations: 0 / 1.408 GB, free: 10.54 MB / 1.107 GB Notification: Performance of Templates: time 0.00296/0.962, allocations: 0.5338 MB / 1.408 GB, free: 10 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.749250877648592]