Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001848/0.001848, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002364/0.002364, allocations: 216.9 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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 3.179/3.179, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 64.25 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002423/0.3735, allocations: 1.292 MB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.548, allocations: 135.2 MB / 1.487 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.5481, allocations: 3.938 kB / 1.487 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.5481, allocations: 0 / 1.487 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.5482, allocations: 7.922 kB / 1.487 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.5486, allocations: 67.66 kB / 1.487 GB, free: 14.82 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.5488, allocations: 23.86 kB / 1.488 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.5488, allocations: 4 kB / 1.488 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.5489, allocations: 4 kB / 1.488 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.549, allocations: 15.92 kB / 1.488 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.549, allocations: 4 kB / 1.488 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.5491, allocations: 23.92 kB / 1.488 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.5491, allocations: 4 kB / 1.488 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.5491, allocations: 15.92 kB / 1.488 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.5493, allocations: 19.97 kB / 1.488 GB, free: 14.71 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.5493, allocations: 4 kB / 1.488 GB, free: 14.71 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5493, allocations: 0 / 1.488 GB, free: 14.71 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5493, allocations: 0 / 1.488 GB, free: 14.71 MB / 1.186 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.0004724/0.5498, allocations: 262.3 kB / 1.488 GB, free: 14.42 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5498, allocations: 15.97 kB / 1.488 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.55, allocations: 12.86 kB / 1.488 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5501, allocations: 110.5 kB / 1.488 GB, free: 14.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.5502, allocations: 51.97 kB / 1.488 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.5502, allocations: 4.375 kB / 1.488 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.5503, allocations: 38.25 kB / 1.488 GB, free: 14.15 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5503, allocations: 3.938 kB / 1.488 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.5504, allocations: 3.938 kB / 1.488 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5504, allocations: 8 kB / 1.488 GB, free: 14.13 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.5504, allocations: 11.98 kB / 1.488 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.5506, allocations: 128.7 kB / 1.488 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.5507, allocations: 30.61 kB / 1.488 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.5508, allocations: 12.86 kB / 1.488 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.5508, allocations: 0 / 1.488 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5508, allocations: 34.56 kB / 1.488 GB, free: 13.86 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.5508, allocations: 0 / 1.488 GB, free: 13.86 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0002384/0.5511, allocations: 65.64 kB / 1.488 GB, free: 13.79 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5511, allocations: 51.41 kB / 1.488 GB, free: 13.72 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.5512, allocations: 101.8 kB / 1.488 GB, free: 13.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5512, allocations: 25.7 kB / 1.489 GB, free: 13.58 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.5512, allocations: 80.14 kB / 1.489 GB, free: 13.5 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5513, allocations: 7.953 kB / 1.489 GB, free: 13.49 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.5513, allocations: 21.67 kB / 1.489 GB, free: 13.46 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5514, allocations: 310.8 kB / 1.489 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.5515, allocations: 15.98 kB / 1.489 GB, free: 13.14 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.5515, allocations: 8 kB / 1.489 GB, free: 13.13 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.5516, allocations: 25.25 kB / 1.489 GB, free: 13.1 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5516, allocations: 0 / 1.489 GB, free: 13.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001303/0.5517, allocations: 57.67 kB / 1.489 GB, free: 13.04 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5518, allocations: 7.938 kB / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5518, allocations: 0 / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5518, allocations: 0 / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.5519, allocations: 11.98 kB / 1.489 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5519, allocations: 0 / 1.489 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.5519, allocations: 0 / 1.489 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5519, allocations: 0 / 1.489 GB, free: 13.02 MB / 1.186 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.669e-05/0.552, allocations: 117.8 kB / 1.489 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.552, allocations: 11.88 kB / 1.489 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.552, allocations: 3.688 kB / 1.489 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.552, allocations: 0 / 1.489 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.552, allocations: 7.984 kB / 1.489 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.552, allocations: 0 / 1.489 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5521, allocations: 124.7 kB / 1.489 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5521, allocations: 3.938 kB / 1.489 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.5522, allocations: 7.984 kB / 1.489 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5522, allocations: 3.938 kB / 1.489 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5522, allocations: 0 / 1.489 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5522, allocations: 4 kB / 1.489 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5522, allocations: 4 kB / 1.489 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.5524, allocations: 69.12 kB / 1.489 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.5524, allocations: 11.94 kB / 1.489 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.5524, allocations: 3.938 kB / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.5524, allocations: 0 / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5525, allocations: 4 kB / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5525, allocations: 4 kB / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.5525, allocations: 83.27 kB / 1.489 GB, free: 12.49 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5525, allocations: 4 kB / 1.489 GB, free: 12.49 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001811/0.5527, allocations: 4 kB / 1.489 GB, free: 12.48 MB / 1.186 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.0001208/0.5528, allocations: 95.19 kB / 1.49 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.553, allocations: 19.98 kB / 1.49 GB, free: 12.36 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.553, allocations: 4 kB / 1.49 GB, free: 12.36 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.553, allocations: 11.98 kB / 1.49 GB, free: 12.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5533, allocations: 15.94 kB / 1.49 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.5536, allocations: 153.8 kB / 1.49 GB, free: 12.14 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5539, allocations: 0.6768 MB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.554, allocations: 11.44 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of SimCode: time 3.31e-07/0.554, allocations: 0 / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of Templates: time 0.001991/0.556, allocations: 0.4902 MB / 1.491 GB, free: 10.95 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.119013346993597]