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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009507/0.009507, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 196.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 63.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3193, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00229/0.3216, allocations: 1.27 MB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9354/1.257, allocations: 132 MB / 1.338 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/1.257, allocations: 0 / 1.338 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/1.257, allocations: 4.547 kB / 1.338 GB, free: 9.664 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/1.257, allocations: 9.609 kB / 1.338 GB, free: 9.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/1.258, allocations: 57.66 kB / 1.338 GB, free: 9.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/1.258, allocations: 21.23 kB / 1.338 GB, free: 9.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/1.258, allocations: 5.688 kB / 1.338 GB, free: 9.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/1.258, allocations: 11.42 kB / 1.338 GB, free: 9.617 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/1.258, allocations: 14.42 kB / 1.338 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.258, allocations: 0 / 1.338 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/1.258, allocations: 13.61 kB / 1.338 GB, free: 9.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/1.258, allocations: 2.594 kB / 1.338 GB, free: 9.605 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/1.258, allocations: 11.06 kB / 1.338 GB, free: 9.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/1.258, allocations: 31.5 kB / 1.338 GB, free: 9.594 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.258, allocations: 0 / 1.338 GB, free: 9.594 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.515e-06/1.258, allocations: 1.125 kB / 1.338 GB, free: 9.594 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.258, allocations: 0 / 1.338 GB, free: 9.594 MB / 1.045 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.0004613/1.259, allocations: 329.2 kB / 1.338 GB, free: 9.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.259, allocations: 10.38 kB / 1.338 GB, free: 9.242 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/1.259, allocations: 5.875 kB / 1.338 GB, free: 9.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/1.259, allocations: 169.5 kB / 1.339 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.259, allocations: 34.88 kB / 1.339 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/1.259, allocations: 2.547 kB / 1.339 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/1.259, allocations: 43.47 kB / 1.339 GB, free: 8.965 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.259, allocations: 5.094 kB / 1.339 GB, free: 8.961 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/1.259, allocations: 3.938 kB / 1.339 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.259, allocations: 0 / 1.339 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/1.26, allocations: 10.97 kB / 1.339 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/1.26, allocations: 152.8 kB / 1.339 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.26, allocations: 34.7 kB / 1.339 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/1.26, allocations: 16.16 kB / 1.339 GB, free: 8.723 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.26, allocations: 88.8 kB / 1.339 GB, free: 8.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.26, allocations: 37.97 kB / 1.339 GB, free: 8.586 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/1.26, allocations: 0 / 1.339 GB, free: 8.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002586/1.26, allocations: 61.62 kB / 1.339 GB, free: 8.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.26, allocations: 53.27 kB / 1.339 GB, free: 8.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/1.261, allocations: 99.14 kB / 1.339 GB, free: 8.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/1.261, allocations: 25.7 kB / 1.339 GB, free: 8.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/1.261, allocations: 81.45 kB / 1.339 GB, free: 8.266 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/1.261, allocations: 14.48 kB / 1.339 GB, free: 8.254 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/1.261, allocations: 16.83 kB / 1.339 GB, free: 8.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.261, allocations: 316.2 kB / 1.34 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/1.261, allocations: 6.516 kB / 1.34 GB, free: 7.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/1.261, allocations: 11.75 kB / 1.34 GB, free: 7.914 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/1.261, allocations: 26.56 kB / 1.34 GB, free: 7.898 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.261, allocations: 1 kB / 1.34 GB, free: 7.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000132/1.261, allocations: 56.7 kB / 1.34 GB, free: 7.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.261, allocations: 9.891 kB / 1.34 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.261, allocations: 0 / 1.34 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.261, allocations: 4 kB / 1.34 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/1.261, allocations: 6.594 kB / 1.34 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/1.261, allocations: 1.312 kB / 1.34 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/1.261, allocations: 2.656 kB / 1.34 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.261, allocations: 2.469 kB / 1.34 GB, free: 7.848 MB / 1.045 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.788e-05/1.261, allocations: 111.6 kB / 1.34 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/1.261, allocations: 5.156 kB / 1.34 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/1.262, allocations: 58.59 kB / 1.34 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.262, allocations: 4 kB / 1.34 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.262, allocations: 1.094 kB / 1.34 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.262, allocations: 0.6562 kB / 1.34 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.262, allocations: 153.4 kB / 1.34 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.262, allocations: 3.938 kB / 1.34 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/1.262, allocations: 6.188 kB / 1.34 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.262, allocations: 4.594 kB / 1.34 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/1.262, allocations: 1.375 kB / 1.34 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.262, allocations: 0.75 kB / 1.34 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.262, allocations: 0.5625 kB / 1.34 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/1.262, allocations: 83.19 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/1.262, allocations: 79.69 kB / 1.34 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/1.262, allocations: 10.48 kB / 1.34 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/1.262, allocations: 2.016 kB / 1.34 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/1.262, allocations: 2 kB / 1.34 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.262, allocations: 1.5 kB / 1.34 GB, free: 7.301 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.201e-05/1.262, allocations: 79.45 kB / 1.34 GB, free: 7.227 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.262, allocations: 4 kB / 1.34 GB, free: 7.223 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001967/1.262, allocations: 8.75 kB / 1.34 GB, free: 7.223 MB / 1.045 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.0001732/1.263, allocations: 112.7 kB / 1.34 GB, free: 7.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001571/1.263, allocations: 20.73 kB / 1.34 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.263, allocations: 0.75 kB / 1.34 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/1.263, allocations: 14.14 kB / 1.34 GB, free: 7.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.263, allocations: 13.17 kB / 1.34 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/1.263, allocations: 127.2 kB / 1.341 GB, free: 7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/1.264, allocations: 0.676 MB / 1.341 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.719e-05/1.264, allocations: 7.75 kB / 1.341 GB, free: 6.301 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/1.264, allocations: 9.625 kB / 1.341 GB, free: 6.297 MB / 1.045 GB Notification: Performance of SimCode: time 1.453e-06/1.264, allocations: 3.938 kB / 1.341 GB, free: 6.293 MB / 1.045 GB Notification: Performance of Templates: time 0.00295/1.267, allocations: 0.5333 MB / 1.342 GB, free: 6.207 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches