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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_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.001167/0.001167, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 190.9 kB / 16.67 MB, free: 6.57 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3537, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002458/0.3562, allocations: 1.277 MB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8617/1.218, allocations: 132 MB / 1.297 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/1.218, allocations: 1.969 kB / 1.297 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/1.218, allocations: 0.75 kB / 1.297 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/1.218, allocations: 4.641 kB / 1.297 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/1.219, allocations: 63.8 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/1.219, allocations: 21.3 kB / 1.297 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/1.219, allocations: 1.812 kB / 1.297 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/1.219, allocations: 14.14 kB / 1.297 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/1.219, allocations: 6.594 kB / 1.297 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/1.219, allocations: 5.156 kB / 1.297 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/1.219, allocations: 15.89 kB / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/1.219, allocations: 8.359 kB / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/1.219, allocations: 8.234 kB / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/1.219, allocations: 27.2 kB / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.22, allocations: 0 / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/1.22, allocations: 1.594 kB / 1.297 GB, free: 14.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.22, allocations: 0 / 1.297 GB, free: 14.39 MB / 1.014 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.0005396/1.22, allocations: 332.9 kB / 1.297 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.22, allocations: 13.7 kB / 1.297 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/1.22, allocations: 3.375 kB / 1.297 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.22, allocations: 170.1 kB / 1.297 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/1.22, allocations: 30.53 kB / 1.297 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.22, allocations: 1.531 kB / 1.297 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/1.221, allocations: 40.66 kB / 1.298 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.221, allocations: 4.641 kB / 1.298 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/1.221, allocations: 0 / 1.298 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.221, allocations: 5.25 kB / 1.298 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/1.221, allocations: 14.97 kB / 1.298 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/1.221, allocations: 152.6 kB / 1.298 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.221, allocations: 30.2 kB / 1.298 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/1.221, allocations: 16.03 kB / 1.298 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/1.221, allocations: 88.14 kB / 1.298 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.221, allocations: 36.83 kB / 1.298 GB, free: 13.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/1.221, allocations: 3.984 kB / 1.298 GB, free: 13.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000254/1.222, allocations: 65.06 kB / 1.298 GB, free: 13.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.222, allocations: 56.66 kB / 1.298 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/1.222, allocations: 98.16 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/1.222, allocations: 26.98 kB / 1.298 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/1.222, allocations: 80.14 kB / 1.298 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/1.222, allocations: 14.47 kB / 1.298 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.222, allocations: 16.28 kB / 1.298 GB, free: 13.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.222, allocations: 313.3 kB / 1.298 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/1.222, allocations: 5.625 kB / 1.298 GB, free: 12.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/1.222, allocations: 11.28 kB / 1.298 GB, free: 12.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/1.222, allocations: 24.89 kB / 1.299 GB, free: 12.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.222, allocations: 0 / 1.299 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001271/1.222, allocations: 53.12 kB / 1.299 GB, free: 12.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.222, allocations: 10.34 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.222, allocations: 1.125 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.222, allocations: 0.5156 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/1.223, allocations: 6.516 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.223, allocations: 0.5625 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/1.223, allocations: 1.75 kB / 1.299 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/1.223, allocations: 4.312 kB / 1.299 GB, free: 12.69 MB / 1.014 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.586e-05/1.223, allocations: 115.8 kB / 1.299 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/1.223, allocations: 5.766 kB / 1.299 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/1.223, allocations: 58.75 kB / 1.299 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.223, allocations: 5 kB / 1.299 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.223, allocations: 1.312 kB / 1.299 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.223, allocations: 0.6094 kB / 1.299 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/1.223, allocations: 161.4 kB / 1.299 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.223, allocations: 0.6094 kB / 1.299 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/1.223, allocations: 6.828 kB / 1.299 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.223, allocations: 7.938 kB / 1.299 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.223, allocations: 1.094 kB / 1.299 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.223, allocations: 0.6094 kB / 1.299 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.223, allocations: 1.188 kB / 1.299 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.223, allocations: 77.47 kB / 1.299 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/1.223, allocations: 83.78 kB / 1.299 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/1.223, allocations: 5 kB / 1.299 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/1.223, allocations: 6.375 kB / 1.299 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/1.223, allocations: 7.156 kB / 1.299 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/1.223, allocations: 1.172 kB / 1.299 GB, free: 12.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.96e-05/1.224, allocations: 82.92 kB / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.224, allocations: 0 / 1.299 GB, free: 12.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001932/1.224, allocations: 12 kB / 1.299 GB, free: 12.07 MB / 1.014 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.0001729/1.224, allocations: 110.7 kB / 1.299 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001582/1.224, allocations: 21.95 kB / 1.299 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.224, allocations: 4 kB / 1.299 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/1.224, allocations: 14.09 kB / 1.299 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/1.224, allocations: 6.766 kB / 1.299 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/1.225, allocations: 120 kB / 1.299 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/1.225, allocations: 0.6754 MB / 1.3 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.728e-05/1.225, allocations: 6.875 kB / 1.3 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/1.225, allocations: 8.906 kB / 1.3 GB, free: 11.16 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.225, allocations: 1.406 kB / 1.3 GB, free: 11.16 MB / 1.014 GB Notification: Performance of Templates: time 0.002647/1.228, allocations: 0.5253 MB / 1.301 GB, free: 11.1 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) 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) Reference file matches