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.001299/0.001299, 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.001355/0.001355, allocations: 185.5 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.402/1.402, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002066/0.002066, allocations: 67.89 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8188, allocations: 160.8 MB / 1.218 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002753/0.8215, allocations: 1.281 MB / 1.22 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.992, allocations: 132.4 MB / 1.349 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.992, allocations: 0 / 1.349 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.992, allocations: 7.875 kB / 1.349 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.9921, allocations: 11.91 kB / 1.349 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.9925, allocations: 63.53 kB / 1.349 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.9925, allocations: 27.86 kB / 1.349 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.9926, allocations: 0 / 1.349 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.9926, allocations: 8 kB / 1.349 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.9927, allocations: 11.92 kB / 1.349 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.9927, allocations: 0 / 1.349 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.9928, allocations: 12 kB / 1.349 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.9928, allocations: 7.984 kB / 1.349 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.9928, allocations: 11.92 kB / 1.349 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/0.9929, allocations: 19.92 kB / 1.349 GB, free: 14.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9929, allocations: 0 / 1.349 GB, free: 14.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9929, allocations: 4 kB / 1.349 GB, free: 14.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.9929, allocations: 0 / 1.349 GB, free: 14.05 MB / 1.061 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.0004356/0.9933, allocations: 334 kB / 1.35 GB, free: 13.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9934, allocations: 12.03 kB / 1.35 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.9934, allocations: 4.938 kB / 1.35 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.9936, allocations: 168.3 kB / 1.35 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.9936, allocations: 30.27 kB / 1.35 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.9936, allocations: 384 / 1.35 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.9938, allocations: 50.19 kB / 1.35 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9938, allocations: 7.875 kB / 1.35 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.9938, allocations: 0 / 1.35 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9938, allocations: 0 / 1.35 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.9939, allocations: 11.98 kB / 1.35 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.9941, allocations: 153.7 kB / 1.35 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.9941, allocations: 26.58 kB / 1.35 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.9942, allocations: 20.88 kB / 1.35 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.9944, allocations: 89.09 kB / 1.35 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.9944, allocations: 42.56 kB / 1.35 GB, free: 12.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.9944, allocations: 4 kB / 1.35 GB, free: 12.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002287/0.9946, allocations: 53.62 kB / 1.35 GB, free: 12.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.9947, allocations: 59.39 kB / 1.35 GB, free: 12.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.9948, allocations: 93.86 kB / 1.35 GB, free: 12.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.9948, allocations: 25.7 kB / 1.35 GB, free: 12.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.9948, allocations: 84.14 kB / 1.35 GB, free: 12.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.9948, allocations: 11.91 kB / 1.35 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.9949, allocations: 9.719 kB / 1.35 GB, free: 12.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.995, allocations: 322.8 kB / 1.351 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.9951, allocations: 7.938 kB / 1.351 GB, free: 12.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.9951, allocations: 11.98 kB / 1.351 GB, free: 12.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.9952, allocations: 21.31 kB / 1.351 GB, free: 12.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9952, allocations: 0 / 1.351 GB, free: 12.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000132/0.9953, allocations: 53.67 kB / 1.351 GB, free: 12.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.9953, allocations: 7.938 kB / 1.351 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.9953, allocations: 0 / 1.351 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9954, allocations: 0 / 1.351 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.9954, allocations: 8 kB / 1.351 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.9954, allocations: 4 kB / 1.351 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.9955, allocations: 3.984 kB / 1.351 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.9955, allocations: 7.938 kB / 1.351 GB, free: 12.11 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.463e-05/0.9955, allocations: 121.7 kB / 1.351 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.9956, allocations: 3.938 kB / 1.351 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.9957, allocations: 57.36 kB / 1.351 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9957, allocations: 0 / 1.351 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.9957, allocations: 0 / 1.351 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9957, allocations: 4 kB / 1.351 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.9959, allocations: 161.5 kB / 1.351 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9959, allocations: 0 / 1.351 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.9959, allocations: 4 kB / 1.351 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9959, allocations: 3.938 kB / 1.351 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.9959, allocations: 4 kB / 1.351 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9959, allocations: 0 / 1.351 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9959, allocations: 3.938 kB / 1.351 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.9962, allocations: 85.06 kB / 1.351 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.9962, allocations: 77.11 kB / 1.351 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.9962, allocations: 3.938 kB / 1.351 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.9963, allocations: 4 kB / 1.351 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.9963, allocations: 3.984 kB / 1.351 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.9963, allocations: 0 / 1.351 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.9964, allocations: 83.28 kB / 1.351 GB, free: 11.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9964, allocations: 0 / 1.351 GB, free: 11.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001887/0.9966, allocations: 8 kB / 1.351 GB, free: 11.39 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.0001535/0.9967, allocations: 115.2 kB / 1.352 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.9969, allocations: 23.92 kB / 1.352 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9969, allocations: 4 kB / 1.352 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.9969, allocations: 7.984 kB / 1.352 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.9972, allocations: 10.66 kB / 1.352 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.9975, allocations: 132.1 kB / 1.352 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.9978, allocations: 0.6767 MB / 1.352 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.9978, allocations: 4 kB / 1.352 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.9979, allocations: 7.906 kB / 1.352 GB, free: 10.35 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9979, allocations: 4 kB / 1.352 GB, free: 10.34 MB / 1.061 GB Notification: Performance of Templates: time 0.003089/1.001, allocations: 0.5442 MB / 1.353 GB, free: 9.805 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.543908805586398]