Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01109/0.01109, allocations: 97.44 kB / 15.73 MB, free: 6.039 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.00192/0.00192, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.11 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3781, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002528/0.3806, allocations: 1.495 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.884/1.265, allocations: 132.4 MB / 1.351 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/1.265, allocations: 4.812 kB / 1.351 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/1.265, allocations: 6.219 kB / 1.351 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/1.265, allocations: 10.53 kB / 1.351 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/1.265, allocations: 65.34 kB / 1.351 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/1.266, allocations: 56.81 kB / 1.352 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/1.266, allocations: 10.86 kB / 1.352 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/1.266, allocations: 22.81 kB / 1.352 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/1.266, allocations: 24.36 kB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/1.266, allocations: 4.5 kB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/1.266, allocations: 17.8 kB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/1.266, allocations: 15.16 kB / 1.352 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/1.266, allocations: 20.67 kB / 1.352 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/1.266, allocations: 62.5 kB / 1.352 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.266, allocations: 0.6562 kB / 1.352 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.266, allocations: 0 / 1.352 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.266, allocations: 0 / 1.352 GB, free: 10.9 MB / 1.061 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.0006276/1.267, allocations: 378.3 kB / 1.352 GB, free: 10.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.267, allocations: 13.47 kB / 1.352 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/1.267, allocations: 3.703 kB / 1.352 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/1.267, allocations: 173.9 kB / 1.352 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.267, allocations: 1.5 kB / 1.352 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/1.267, allocations: 3.406 kB / 1.352 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/1.268, allocations: 81.03 kB / 1.352 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.268, allocations: 1.281 kB / 1.352 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.268, allocations: 3.938 kB / 1.352 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.268, allocations: 5.188 kB / 1.352 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/1.268, allocations: 69.84 kB / 1.352 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/1.268, allocations: 282 kB / 1.353 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.269, allocations: 56.3 kB / 1.353 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/1.269, allocations: 41.06 kB / 1.353 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.269, allocations: 96.78 kB / 1.353 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/1.269, allocations: 36.12 kB / 1.353 GB, free: 9.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/1.269, allocations: 0 / 1.353 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005702/1.269, allocations: 137.4 kB / 1.353 GB, free: 9.715 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.27, allocations: 52.94 kB / 1.353 GB, free: 9.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.27, allocations: 114.8 kB / 1.353 GB, free: 9.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.27, allocations: 29.7 kB / 1.353 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/1.27, allocations: 92.64 kB / 1.353 GB, free: 9.426 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/1.27, allocations: 6.625 kB / 1.353 GB, free: 9.422 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/1.27, allocations: 16.73 kB / 1.353 GB, free: 9.402 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.27, allocations: 317.7 kB / 1.354 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/1.27, allocations: 31.22 kB / 1.354 GB, free: 9.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/1.27, allocations: 39.61 kB / 1.354 GB, free: 9.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/1.27, allocations: 70.08 kB / 1.354 GB, free: 9.051 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.27, allocations: 0.7969 kB / 1.354 GB, free: 9.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003423/1.271, allocations: 99.72 kB / 1.354 GB, free: 9.008 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.271, allocations: 11.19 kB / 1.354 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/1.271, allocations: 0 / 1.354 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.271, allocations: 1.016 kB / 1.354 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/1.271, allocations: 15.75 kB / 1.354 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.271, allocations: 1.094 kB / 1.354 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/1.271, allocations: 15.5 kB / 1.354 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.271, allocations: 2.125 kB / 1.354 GB, free: 9 MB / 1.061 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 9.197e-05/1.271, allocations: 120.5 kB / 1.354 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/1.271, allocations: 10.77 kB / 1.354 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/1.272, allocations: 105.6 kB / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.272, allocations: 1.062 kB / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.272, allocations: 0 / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.272, allocations: 1.734 kB / 1.354 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.272, allocations: 174.5 kB / 1.354 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.272, allocations: 0 / 1.354 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.272, allocations: 20.02 kB / 1.354 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.272, allocations: 1.031 kB / 1.354 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.272, allocations: 4.5 kB / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.272, allocations: 1.125 kB / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.272, allocations: 0 / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/1.272, allocations: 203.3 kB / 1.355 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/1.272, allocations: 83.66 kB / 1.355 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.273, allocations: 0.6094 kB / 1.355 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.273, allocations: 11.98 kB / 1.355 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.273, allocations: 8.375 kB / 1.355 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/1.273, allocations: 1.812 kB / 1.355 GB, free: 8.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.323e-05/1.273, allocations: 92.03 kB / 1.355 GB, free: 8.273 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.273, allocations: 1.219 kB / 1.355 GB, free: 8.273 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002541/1.273, allocations: 15.97 kB / 1.355 GB, free: 8.27 MB / 1.061 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.0001973/1.273, allocations: 113.2 kB / 1.355 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003731/1.274, allocations: 71.98 kB / 1.355 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.274, allocations: 0 / 1.355 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/1.274, allocations: 37.11 kB / 1.355 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.274, allocations: 26.64 kB / 1.355 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/1.275, allocations: 161.3 kB / 1.355 GB, free: 8.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/1.275, allocations: 0.6878 MB / 1.356 GB, free: 7.312 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.125e-05/1.275, allocations: 10.27 kB / 1.356 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/1.275, allocations: 9.812 kB / 1.356 GB, free: 7.297 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.275, allocations: 1.156 kB / 1.356 GB, free: 7.297 MB / 1.061 GB Notification: Performance of Templates: time 0.004022/1.279, allocations: 1.002 MB / 1.357 GB, free: 7.199 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches