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.002019/0.002019, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.002238/0.002238, allocations: 164.6 kB / 23.02 MB, free: 4.941 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.881/2.881, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002064/0.002064, allocations: 63.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.875, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002006/0.877, allocations: 1.305 MB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.151/1.028, allocations: 115.7 MB / 1.268 GB, free: 2.613 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/1.028, allocations: 0 / 1.268 GB, free: 2.613 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/1.028, allocations: 4.453 kB / 1.268 GB, free: 2.609 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/1.028, allocations: 6.562 kB / 1.268 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/1.029, allocations: 57.5 kB / 1.268 GB, free: 2.578 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/1.029, allocations: 21.56 kB / 1.268 GB, free: 2.57 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/1.029, allocations: 1.75 kB / 1.268 GB, free: 2.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/1.029, allocations: 10.88 kB / 1.268 GB, free: 2.566 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/1.029, allocations: 10.19 kB / 1.268 GB, free: 2.562 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/1.029, allocations: 1.156 kB / 1.268 GB, free: 2.562 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/1.029, allocations: 19.47 kB / 1.268 GB, free: 2.555 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/1.029, allocations: 5.781 kB / 1.268 GB, free: 2.551 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/1.029, allocations: 8.484 kB / 1.268 GB, free: 2.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/1.029, allocations: 25.45 kB / 1.268 GB, free: 2.543 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.029, allocations: 0 / 1.268 GB, free: 2.543 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.864e-06/1.029, allocations: 4 kB / 1.268 GB, free: 2.539 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.029, allocations: 1.344 kB / 1.268 GB, free: 2.539 MB / 1.123 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.0004776/1.03, allocations: 262.8 kB / 1.269 GB, free: 2.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.03, allocations: 9.812 kB / 1.269 GB, free: 2.27 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/1.03, allocations: 6.031 kB / 1.269 GB, free: 2.266 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.03, allocations: 106.1 kB / 1.269 GB, free: 2.141 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.03, allocations: 55.84 kB / 1.269 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/1.03, allocations: 6.188 kB / 1.269 GB, free: 2.074 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/1.03, allocations: 40.09 kB / 1.269 GB, free: 2.039 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.03, allocations: 9.031 kB / 1.269 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/1.03, allocations: 0 / 1.269 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/1.03, allocations: 1.125 kB / 1.269 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/1.03, allocations: 10.59 kB / 1.269 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/1.03, allocations: 110.1 kB / 1.269 GB, free: 1.898 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.03, allocations: 30.31 kB / 1.269 GB, free: 1.871 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/1.031, allocations: 15.95 kB / 1.269 GB, free: 1.859 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/1.031, allocations: 11.94 kB / 1.269 GB, free: 1.859 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.031, allocations: 41.62 kB / 1.269 GB, free: 1.812 MB / 1.123 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.031, allocations: 0 / 1.269 GB, free: 1.812 MB / 1.123 GB Notification: Performance of matching and sorting (n=3): time 0.0002647/1.031, allocations: 61.59 kB / 1.269 GB, free: 1.77 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.031, allocations: 53.06 kB / 1.269 GB, free: 1.707 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/1.031, allocations: 99.23 kB / 1.269 GB, free: 1.605 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.031, allocations: 29.7 kB / 1.269 GB, free: 1.57 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.031, allocations: 81.81 kB / 1.269 GB, free: 1.488 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/1.031, allocations: 6.797 kB / 1.269 GB, free: 1.484 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.031, allocations: 13.73 kB / 1.269 GB, free: 1.469 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.031, allocations: 320.6 kB / 1.27 GB, free: 1.148 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/1.031, allocations: 9.312 kB / 1.27 GB, free: 1.145 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/1.031, allocations: 11.64 kB / 1.27 GB, free: 1.141 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/1.032, allocations: 22.06 kB / 1.27 GB, free: 1.129 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.032, allocations: 0 / 1.27 GB, free: 1.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001367/1.032, allocations: 49.25 kB / 1.27 GB, free: 1.094 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.032, allocations: 5.531 kB / 1.27 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.032, allocations: 0 / 1.27 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.032, allocations: 5.25 kB / 1.27 GB, free: 1.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/1.032, allocations: 10.89 kB / 1.27 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.032, allocations: 0 / 1.27 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/1.032, allocations: 9.953 kB / 1.27 GB, free: 1.078 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/1.032, allocations: 2.141 kB / 1.27 GB, free: 1.078 MB / 1.123 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.744e-05/1.032, allocations: 111.8 kB / 1.27 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/1.032, allocations: 2.172 kB / 1.27 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/1.032, allocations: 58.08 kB / 1.27 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.032, allocations: 0.9062 kB / 1.27 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.032, allocations: 0.9062 kB / 1.27 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.032, allocations: 4.797 kB / 1.27 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/1.032, allocations: 106.8 kB / 1.27 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.032, allocations: 0.6094 kB / 1.27 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/1.032, allocations: 6.969 kB / 1.27 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.032, allocations: 0 / 1.27 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.032, allocations: 4.844 kB / 1.27 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.032, allocations: 3.938 kB / 1.27 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.032, allocations: 5.484 kB / 1.27 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/1.033, allocations: 79.02 kB / 1.27 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/1.033, allocations: 7.453 kB / 1.27 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/1.033, allocations: 5.75 kB / 1.27 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/1.033, allocations: 5.797 kB / 1.27 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/1.033, allocations: 3.094 kB / 1.27 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/1.033, allocations: 1.031 kB / 1.27 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.659e-05/1.033, allocations: 82.72 kB / 1.27 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.033, allocations: 1.062 kB / 1.27 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002054/1.033, allocations: 8.406 kB / 1.27 GB, free: 0.6016 MB / 1.123 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.0001743/1.033, allocations: 109.1 kB / 1.27 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.033, allocations: 37.23 kB / 1.27 GB, free: 500 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.033, allocations: 0 / 1.27 GB, free: 500 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/1.033, allocations: 8.578 kB / 1.27 GB, free: 500 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/1.034, allocations: 8.156 kB / 1.27 GB, free: 500 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/1.034, allocations: 133.8 kB / 1.271 GB, free: 372 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/1.034, allocations: 66.52 kB / 1.271 GB, free: 292 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.061e-05/1.034, allocations: 6.609 kB / 1.271 GB, free: 288 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/1.034, allocations: 11.38 kB / 1.271 GB, free: 276 kB / 1.123 GB Notification: Performance of SimCode: time 3.1e-07/1.034, allocations: 0 / 1.271 GB, free: 276 kB / 1.123 GB Notification: Performance of Templates: time 0.003298/1.037, allocations: 0.5237 MB / 1.271 GB, free: 192 kB / 1.123 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 -s ida -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/jenkins1/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: 8.80215867201332]