Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.0008551/0.0008551, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007847/0.0007847, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.879/0.879, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.701e-05, allocations: 5.094 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00201/0.002037, allocations: 1.502 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5126/0.5147, allocations: 115.8 MB / 1.115 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.5147, allocations: 5.094 kB / 1.115 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.5147, allocations: 5.531 kB / 1.115 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.5148, allocations: 5.578 kB / 1.115 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.5151, allocations: 72.33 kB / 1.116 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.474e-05/0.5152, allocations: 55.95 kB / 1.116 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.5153, allocations: 10.77 kB / 1.116 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.5154, allocations: 28.67 kB / 1.116 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.5154, allocations: 16.44 kB / 1.116 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.5155, allocations: 4.531 kB / 1.116 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.5156, allocations: 23.23 kB / 1.116 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.5156, allocations: 15.06 kB / 1.116 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.5156, allocations: 20.94 kB / 1.116 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.5158, allocations: 56.48 kB / 1.116 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5158, allocations: 0 / 1.116 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5158, allocations: 5.25 kB / 1.116 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5158, allocations: 0 / 1.116 GB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003828/0.5161, allocations: 300.9 kB / 1.116 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5162, allocations: 9.344 kB / 1.116 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.5163, allocations: 11.62 kB / 1.116 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.58e-05/0.5164, allocations: 118.8 kB / 1.116 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5164, allocations: 5.438 kB / 1.116 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5164, allocations: 6.828 kB / 1.116 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5166, allocations: 84.59 kB / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.5166, allocations: 192 / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5166, allocations: 2.281 kB / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5166, allocations: 384 / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.5168, allocations: 74.09 kB / 1.116 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.5171, allocations: 224.4 kB / 1.117 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5172, allocations: 59.05 kB / 1.117 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.5173, allocations: 36.94 kB / 1.117 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.5173, allocations: 0.7031 kB / 1.117 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.5173, allocations: 35.62 kB / 1.117 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5173, allocations: 1.312 kB / 1.117 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0003247/0.5177, allocations: 133.2 kB / 1.117 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.5177, allocations: 52.59 kB / 1.117 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.5177, allocations: 114.6 kB / 1.117 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.5178, allocations: 25.7 kB / 1.117 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.5178, allocations: 93.14 kB / 1.117 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.5178, allocations: 9.938 kB / 1.117 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.5178, allocations: 20.83 kB / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.567e-05/0.5178, allocations: 314.8 kB / 1.117 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.5179, allocations: 33.78 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.518, allocations: 31.06 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5182, allocations: 74.98 kB / 1.118 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5182, allocations: 0.9688 kB / 1.118 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001734/0.5183, allocations: 105.7 kB / 1.118 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5183, allocations: 7.016 kB / 1.118 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.5183, allocations: 0 / 1.118 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5184, allocations: 0 / 1.118 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.5184, allocations: 17.09 kB / 1.118 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5184, allocations: 7.203 kB / 1.118 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.5185, allocations: 11.25 kB / 1.118 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.5185, allocations: 2.188 kB / 1.118 GB, free: 9.941 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 4.147e-05/0.5185, allocations: 120.2 kB / 1.118 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.5186, allocations: 9.609 kB / 1.118 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.5186, allocations: 11.62 kB / 1.118 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5186, allocations: 336 / 1.118 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5186, allocations: 0.5156 kB / 1.118 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5186, allocations: 1.281 kB / 1.118 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.5187, allocations: 114.3 kB / 1.118 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5187, allocations: 3.984 kB / 1.118 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.5187, allocations: 16.03 kB / 1.118 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5187, allocations: 0.7969 kB / 1.118 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5187, allocations: 3.938 kB / 1.118 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5187, allocations: 4.219 kB / 1.118 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5187, allocations: 1.188 kB / 1.118 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.5189, allocations: 200.5 kB / 1.118 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.5189, allocations: 5.359 kB / 1.118 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.5189, allocations: 5.812 kB / 1.118 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.519, allocations: 11.56 kB / 1.118 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.519, allocations: 7.922 kB / 1.118 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.519, allocations: 1.125 kB / 1.118 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.5191, allocations: 89.97 kB / 1.118 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5191, allocations: 0 / 1.118 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001466/0.5192, allocations: 7.781 kB / 1.118 GB, free: 9.426 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 9.344e-05/0.5193, allocations: 98.86 kB / 1.118 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.5195, allocations: 70.72 kB / 1.118 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5195, allocations: 0 / 1.118 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.5196, allocations: 34.03 kB / 1.118 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5199, allocations: 19.14 kB / 1.118 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.5202, allocations: 179.1 kB / 1.119 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.5202, allocations: 66.83 kB / 1.119 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.5203, allocations: 10.78 kB / 1.119 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of SimCode: time 6.61e-07/0.5203, allocations: 0 / 1.119 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of Templates: time 0.00209/0.5223, allocations: 0.8431 MB / 1.12 GB, free: 9.035 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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.104954641312361]