Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00882/0.00882, allocations: 102.4 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.001608/0.001608, allocations: 197.2 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.465/1.465, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 62.77 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3471, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002625/0.3498, allocations: 1.482 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.5113, allocations: 132.1 MB / 1.218 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.5114, allocations: 0 / 1.218 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.5115, allocations: 3.938 kB / 1.218 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.5116, allocations: 11.88 kB / 1.218 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.5121, allocations: 67.64 kB / 1.218 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.5123, allocations: 59.72 kB / 1.218 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5124, allocations: 16 kB / 1.218 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.5125, allocations: 19.92 kB / 1.219 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.5125, allocations: 27.91 kB / 1.219 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.5125, allocations: 4 kB / 1.219 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.5126, allocations: 16 kB / 1.219 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.5127, allocations: 11.92 kB / 1.219 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.5127, allocations: 19.91 kB / 1.219 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.5129, allocations: 55.83 kB / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5129, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5129, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.5129, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005738/0.5135, allocations: 381.2 kB / 1.219 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5135, allocations: 12.03 kB / 1.219 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.5136, allocations: 4.844 kB / 1.219 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5137, allocations: 176.2 kB / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5138, allocations: 384 / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.5138, allocations: 8.375 kB / 1.219 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.514, allocations: 78.2 kB / 1.219 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5141, allocations: 4.125 kB / 1.219 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5141, allocations: 3.938 kB / 1.219 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5141, allocations: 0 / 1.219 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.5144, allocations: 67.92 kB / 1.219 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.5148, allocations: 292.6 kB / 1.22 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.5151, allocations: 54.53 kB / 1.22 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.5152, allocations: 40.92 kB / 1.22 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.5154, allocations: 93.03 kB / 1.22 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5154, allocations: 34.56 kB / 1.22 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5155, allocations: 0 / 1.22 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005215/0.516, allocations: 129.5 kB / 1.22 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.516, allocations: 55.41 kB / 1.22 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.5161, allocations: 117.8 kB / 1.22 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5162, allocations: 25.7 kB / 1.22 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.5162, allocations: 92.12 kB / 1.22 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.5162, allocations: 7.812 kB / 1.22 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.5163, allocations: 17.72 kB / 1.22 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5165, allocations: 318.8 kB / 1.221 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5167, allocations: 35.97 kB / 1.221 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5168, allocations: 31.97 kB / 1.221 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.517, allocations: 68.78 kB / 1.221 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5171, allocations: 0 / 1.221 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.5174, allocations: 105.8 kB / 1.221 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5174, allocations: 7.984 kB / 1.221 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5174, allocations: 0 / 1.221 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5174, allocations: 4.047 kB / 1.221 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5176, allocations: 15.97 kB / 1.221 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5176, allocations: 0 / 1.221 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.5177, allocations: 11.98 kB / 1.221 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.5177, allocations: 7.984 kB / 1.221 GB, free: 8.617 MB / 0.9825 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.314e-05/0.5178, allocations: 113.8 kB / 1.221 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.5178, allocations: 11.91 kB / 1.221 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.5182, allocations: 109.4 kB / 1.221 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5182, allocations: 0 / 1.221 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5182, allocations: 4 kB / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5182, allocations: 0 / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.5184, allocations: 169.6 kB / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5184, allocations: 0 / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.5185, allocations: 23.97 kB / 1.221 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5185, allocations: 0 / 1.221 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5185, allocations: 3.938 kB / 1.221 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5185, allocations: 0 / 1.221 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5185, allocations: 3.938 kB / 1.221 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.5189, allocations: 207.2 kB / 1.221 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.5189, allocations: 77.11 kB / 1.222 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.519, allocations: 0 / 1.222 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5191, allocations: 15.98 kB / 1.222 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5191, allocations: 7.984 kB / 1.222 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.5191, allocations: 4 kB / 1.222 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.5192, allocations: 87.28 kB / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5192, allocations: 0 / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002352/0.5194, allocations: 15.94 kB / 1.222 GB, free: 7.672 MB / 0.9825 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.0001813/0.5196, allocations: 111.8 kB / 1.222 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.52, allocations: 71.92 kB / 1.222 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.52, allocations: 0 / 1.222 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.5202, allocations: 39.89 kB / 1.222 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.5205, allocations: 16.7 kB / 1.222 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.5209, allocations: 163.7 kB / 1.222 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.5212, allocations: 0.6846 MB / 1.223 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.5213, allocations: 4 kB / 1.223 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.5213, allocations: 15.44 kB / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.5213, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003555/0.5249, allocations: 1.026 MB / 1.224 GB, free: 5.508 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches