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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001478/0.001478, allocations: 100.1 kB / 15.88 MB, free: 12 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.001401/0.001401, allocations: 200 kB / 16.79 MB, free: 6.828 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6487, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002343/0.6511, allocations: 1.558 MB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.7894, allocations: 129.9 MB / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.7895, allocations: 0 / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.7896, allocations: 3.938 kB / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.7897, allocations: 11.92 kB / 1.078 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.7901, allocations: 51.8 kB / 1.078 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.7902, allocations: 55.77 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.7903, allocations: 17.97 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.7904, allocations: 19.92 kB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.7905, allocations: 27.84 kB / 1.078 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.7905, allocations: 4 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.7906, allocations: 8 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.7906, allocations: 11.98 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.7906, allocations: 19.88 kB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.7908, allocations: 43.88 kB / 1.078 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7908, allocations: 3.984 kB / 1.078 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7908, allocations: 4 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7908, allocations: 0 / 1.078 GB, free: 13.91 MB / 0.8419 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.0005434/0.7913, allocations: 371.3 kB / 1.079 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7914, allocations: 8.031 kB / 1.079 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.7914, allocations: 8.844 kB / 1.079 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7916, allocations: 176.2 kB / 1.079 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.7916, allocations: 384 / 1.079 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.7916, allocations: 12.38 kB / 1.079 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.7919, allocations: 70.22 kB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7919, allocations: 4.172 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.7919, allocations: 3.938 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7919, allocations: 0 / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.7922, allocations: 63.92 kB / 1.079 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.7926, allocations: 296.7 kB / 1.079 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.7929, allocations: 54.53 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.793, allocations: 44.86 kB / 1.079 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.7932, allocations: 93.09 kB / 1.079 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.7932, allocations: 34.5 kB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7932, allocations: 0 / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005508/0.7938, allocations: 137.4 kB / 1.08 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7938, allocations: 51.41 kB / 1.08 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.7939, allocations: 117.8 kB / 1.08 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.794, allocations: 25.7 kB / 1.08 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.794, allocations: 92.12 kB / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.794, allocations: 3.906 kB / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.7941, allocations: 17.72 kB / 1.08 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7942, allocations: 326.8 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7943, allocations: 23.97 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.7945, allocations: 31.97 kB / 1.08 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.7948, allocations: 72.78 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7948, allocations: 0 / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.7951, allocations: 109.5 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7951, allocations: 6.188 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7951, allocations: 0 / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7952, allocations: 0 / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7953, allocations: 15.98 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7953, allocations: 4 kB / 1.08 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.7954, allocations: 15.92 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.7954, allocations: 0 / 1.08 GB, free: 11.43 MB / 0.8419 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.422e-05/0.7955, allocations: 117.8 kB / 1.081 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.7955, allocations: 7.891 kB / 1.081 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.7959, allocations: 109.5 kB / 1.081 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7959, allocations: 4 kB / 1.081 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7959, allocations: 4 kB / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7959, allocations: 0 / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.7961, allocations: 173.6 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7961, allocations: 384 / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.7962, allocations: 19.98 kB / 1.081 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7962, allocations: 3.938 kB / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.7962, allocations: 0 / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7962, allocations: 4 kB / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7962, allocations: 0 / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.7966, allocations: 203.3 kB / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.7966, allocations: 81.02 kB / 1.081 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7967, allocations: 4 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7968, allocations: 15.98 kB / 1.081 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.7968, allocations: 3.984 kB / 1.081 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.7968, allocations: 4 kB / 1.081 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.7969, allocations: 91.27 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7969, allocations: 3.938 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002332/0.7972, allocations: 12 kB / 1.081 GB, free: 10.47 MB / 0.8419 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.0001586/0.7973, allocations: 111.2 kB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.7977, allocations: 67.92 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7977, allocations: 0 / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.7978, allocations: 39.91 kB / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.7981, allocations: 12.44 kB / 1.081 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.7985, allocations: 199.1 kB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7987, allocations: 0.6809 MB / 1.082 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.7988, allocations: 11.44 kB / 1.082 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.7988, allocations: 0 / 1.082 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of Templates: time 0.002294/0.8011, allocations: 0.9292 MB / 1.083 GB, free: 8.363 MB / 0.8419 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/jenkins1/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