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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001084/0.001084, allocations: 104 kB / 16.35 MB, free: 5.824 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.001101/0.001101, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.83 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002408/0.2863, allocations: 1.275 MB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6404/0.9267, allocations: 132 MB / 1.149 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.9268, allocations: 0 / 1.149 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.9269, allocations: 0 / 1.149 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.927, allocations: 11.23 kB / 1.149 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.9274, allocations: 53.23 kB / 1.149 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.9275, allocations: 21.59 kB / 1.149 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.9276, allocations: 1.406 kB / 1.149 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.9276, allocations: 11.56 kB / 1.149 GB, free: 464 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.9277, allocations: 10.23 kB / 1.149 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.9277, allocations: 5.312 kB / 1.149 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.9278, allocations: 12.94 kB / 1.149 GB, free: 452 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.9278, allocations: 1.406 kB / 1.149 GB, free: 452 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.9279, allocations: 13.45 kB / 1.149 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.928, allocations: 27.5 kB / 1.149 GB, free: 440 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.928, allocations: 3.938 kB / 1.149 GB, free: 436 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.928, allocations: 1.438 kB / 1.149 GB, free: 436 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.928, allocations: 0 / 1.149 GB, free: 436 kB / 0.8575 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.0003966/0.9284, allocations: 335.3 kB / 1.149 GB, free: 72 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.9285, allocations: 14.64 kB / 1.149 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.9285, allocations: 1.938 kB / 1.149 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9286, allocations: 165.5 kB / 1.15 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.9287, allocations: 30.2 kB / 1.15 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.9287, allocations: 1.688 kB / 1.15 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9289, allocations: 40.05 kB / 1.15 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.9289, allocations: 3.938 kB / 1.15 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9289, allocations: 2.125 kB / 1.15 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9289, allocations: 0 / 1.15 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.929, allocations: 15.23 kB / 1.15 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.9291, allocations: 157.8 kB / 1.15 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.9292, allocations: 34.7 kB / 1.15 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.9293, allocations: 16.34 kB / 1.15 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.9295, allocations: 87.55 kB / 1.15 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.9295, allocations: 37.69 kB / 1.15 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.9295, allocations: 0 / 1.15 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3): time 0.0002201/0.9297, allocations: 58.55 kB / 1.15 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.9298, allocations: 55.41 kB / 1.15 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.9299, allocations: 99.7 kB / 1.15 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.9299, allocations: 27.14 kB / 1.15 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.9299, allocations: 84.08 kB / 1.15 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.93, allocations: 17.5 kB / 1.15 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.93, allocations: 14.72 kB / 1.15 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9301, allocations: 310.8 kB / 1.151 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.9302, allocations: 11.42 kB / 1.151 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.9302, allocations: 7.438 kB / 1.151 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.9303, allocations: 24.97 kB / 1.151 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9303, allocations: 0 / 1.151 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001241/0.9304, allocations: 52.61 kB / 1.151 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9304, allocations: 8.75 kB / 1.151 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9305, allocations: 2.906 kB / 1.151 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.9305, allocations: 7.875 kB / 1.151 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.9305, allocations: 5.5 kB / 1.151 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9305, allocations: 2.531 kB / 1.151 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.9306, allocations: 1.375 kB / 1.151 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9306, allocations: 1 kB / 1.151 GB, free: 14.68 MB / 0.8731 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.102e-05/0.9307, allocations: 113 kB / 1.151 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.9307, allocations: 9.188 kB / 1.151 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.9308, allocations: 58.12 kB / 1.151 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9309, allocations: 0 / 1.151 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9309, allocations: 1.688 kB / 1.151 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.9309, allocations: 1.125 kB / 1.151 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.931, allocations: 152 kB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.931, allocations: 0 / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.931, allocations: 11.56 kB / 1.151 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9311, allocations: 3.938 kB / 1.151 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.9311, allocations: 5.812 kB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.9311, allocations: 0 / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9311, allocations: 1.875 kB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.9312, allocations: 69.48 kB / 1.151 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.9313, allocations: 84.84 kB / 1.151 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.9313, allocations: 7.125 kB / 1.151 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.715e-05/0.9313, allocations: 2.531 kB / 1.151 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.9314, allocations: 8.062 kB / 1.151 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.9314, allocations: 0 / 1.151 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.9314, allocations: 77.97 kB / 1.151 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9314, allocations: 0 / 1.151 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001973/0.9317, allocations: 12.56 kB / 1.151 GB, free: 14.05 MB / 0.8731 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.0001636/0.9318, allocations: 119.7 kB / 1.151 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.932, allocations: 16.69 kB / 1.152 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.932, allocations: 5.094 kB / 1.152 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.932, allocations: 13.78 kB / 1.152 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.9323, allocations: 12.38 kB / 1.152 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.9326, allocations: 126.2 kB / 1.152 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.9329, allocations: 0.6748 MB / 1.152 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.198e-05/0.9329, allocations: 13.16 kB / 1.152 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.9329, allocations: 9.188 kB / 1.152 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9329, allocations: 0 / 1.152 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.002556/0.9355, allocations: 0.5306 MB / 1.153 GB, free: 13.04 MB / 0.8731 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 -s gbode -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/jenkins1/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