Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_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_9_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.00866/0.00866, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00152/0.00152, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.576/2.576, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 58.78 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4138, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003765/0.4176, allocations: 1.274 MB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.5959, allocations: 132 MB / 1.218 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.596, allocations: 4 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.5961, allocations: 3.938 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.5962, allocations: 3.938 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.5966, allocations: 55.72 kB / 1.218 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.5967, allocations: 19.94 kB / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.5968, allocations: 4 kB / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.5969, allocations: 11.92 kB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.5969, allocations: 15.92 kB / 1.218 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5969, allocations: 0 / 1.218 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.597, allocations: 15.98 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.5971, allocations: 4 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.5971, allocations: 7.938 kB / 1.218 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.5972, allocations: 27.91 kB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5972, allocations: 0 / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5973, allocations: 4 kB / 1.218 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5973, allocations: 0 / 1.218 GB, free: 11.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004932/0.5978, allocations: 331.5 kB / 1.219 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5978, allocations: 8.031 kB / 1.219 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.5979, allocations: 4.875 kB / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.598, allocations: 172.3 kB / 1.219 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.5981, allocations: 26.27 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.5981, allocations: 4.375 kB / 1.219 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5983, allocations: 46.17 kB / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5983, allocations: 3.938 kB / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5983, allocations: 0 / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5983, allocations: 3.984 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.5984, allocations: 8 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.5986, allocations: 157.7 kB / 1.219 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.5987, allocations: 34.61 kB / 1.219 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.5988, allocations: 16.86 kB / 1.219 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.599, allocations: 93.12 kB / 1.219 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5991, allocations: 38.5 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5991, allocations: 4 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002756/0.5994, allocations: 61.61 kB / 1.219 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5994, allocations: 51.41 kB / 1.219 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.5995, allocations: 101.8 kB / 1.219 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.5995, allocations: 25.7 kB / 1.219 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5996, allocations: 84.12 kB / 1.219 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.5996, allocations: 3.906 kB / 1.219 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.5996, allocations: 21.72 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5998, allocations: 310.8 kB / 1.22 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.5998, allocations: 7.984 kB / 1.22 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.5999, allocations: 15.94 kB / 1.22 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.5999, allocations: 20.84 kB / 1.22 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6, allocations: 0 / 1.22 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/0.6001, allocations: 53.59 kB / 1.22 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6001, allocations: 9.812 kB / 1.22 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6001, allocations: 7.984 kB / 1.22 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6001, allocations: 0 / 1.22 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.6002, allocations: 4 kB / 1.22 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6002, allocations: 4 kB / 1.22 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.6003, allocations: 0 / 1.22 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.6003, allocations: 0 / 1.22 GB, free: 9.582 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.571e-05/0.6004, allocations: 113.8 kB / 1.22 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.6004, allocations: 7.875 kB / 1.22 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.6006, allocations: 61.69 kB / 1.22 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6006, allocations: 4 kB / 1.22 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6006, allocations: 48 / 1.22 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6006, allocations: 3.984 kB / 1.22 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.6007, allocations: 157.6 kB / 1.22 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6007, allocations: 0 / 1.22 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.6008, allocations: 7.984 kB / 1.22 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6008, allocations: 3.938 kB / 1.22 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6008, allocations: 0 / 1.22 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6008, allocations: 0 / 1.22 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6008, allocations: 8 kB / 1.22 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.601, allocations: 69.06 kB / 1.22 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.6011, allocations: 89 kB / 1.22 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.6011, allocations: 7.938 kB / 1.22 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.6011, allocations: 0 / 1.22 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.6012, allocations: 4 kB / 1.22 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.6012, allocations: 0 / 1.22 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.6012, allocations: 91.2 kB / 1.221 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.6012, allocations: 0 / 1.221 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001931/0.6014, allocations: 12 kB / 1.221 GB, free: 8.848 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.0001799/0.6016, allocations: 111.8 kB / 1.221 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.6018, allocations: 19.92 kB / 1.221 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6018, allocations: 0 / 1.221 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.6018, allocations: 12 kB / 1.221 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.6021, allocations: 15.98 kB / 1.221 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.6024, allocations: 119.8 kB / 1.221 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6027, allocations: 0.6768 MB / 1.221 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.6028, allocations: 8 kB / 1.221 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.6028, allocations: 7.438 kB / 1.221 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.6028, allocations: 3.938 kB / 1.221 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.002729/0.6055, allocations: 0.5107 MB / 1.222 GB, free: 7.309 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches