Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 92 kB / 16.02 MB, free: 80 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.001273/0.001273, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.273 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.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7943, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001256/0.7956, allocations: 0.9913 MB / 0.9567 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.797, allocations: 0.8812 MB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.797, allocations: 0 / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.797, allocations: 1.125 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.7971, allocations: 3.938 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.7976, allocations: 158.5 kB / 0.9577 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.7977, allocations: 24.69 kB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.7978, allocations: 6.172 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.7978, allocations: 4.281 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.7979, allocations: 11.14 kB / 0.9577 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.7979, allocations: 0 / 0.9577 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.7982, allocations: 193.9 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.7983, allocations: 1.406 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.7983, allocations: 37.25 kB / 0.958 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.7985, allocations: 102.1 kB / 0.9581 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7985, allocations: 1.094 kB / 0.9581 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7985, allocations: 4 kB / 0.9581 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7985, allocations: 0 / 0.9581 GB, free: 5.918 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003448/0.7989, allocations: 356.6 kB / 0.9584 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7989, allocations: 9.281 kB / 0.9584 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.7991, allocations: 10.05 kB / 0.9584 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.7992, allocations: 164.3 kB / 0.9586 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7992, allocations: 5.406 kB / 0.9586 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.7992, allocations: 10.03 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.7994, allocations: 48.7 kB / 0.9586 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7994, allocations: 0 / 0.9586 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.7994, allocations: 1.188 kB / 0.9586 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7994, allocations: 1 kB / 0.9586 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.7995, allocations: 12.22 kB / 0.9587 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.7996, allocations: 154.4 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.8004, allocations: 133.2 kB / 0.9589 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.8005, allocations: 25.75 kB / 0.959 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.8006, allocations: 82.36 kB / 0.959 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.8006, allocations: 35.59 kB / 0.9591 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.8006, allocations: 0 / 0.9591 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.8008, allocations: 61.16 kB / 0.9591 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.8009, allocations: 56.7 kB / 0.9592 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.8009, allocations: 91.33 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.8009, allocations: 25.7 kB / 0.9593 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.8009, allocations: 81.64 kB / 0.9594 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.801, allocations: 21.25 kB / 0.9594 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.801, allocations: 10.81 kB / 0.9594 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.8011, allocations: 312 kB / 0.9597 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.8011, allocations: 12.05 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.8011, allocations: 4.5 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.8012, allocations: 28.06 kB / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8012, allocations: 0 / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.18e-05/0.8013, allocations: 57.56 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8013, allocations: 7 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8013, allocations: 5.172 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8013, allocations: 3.984 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.8014, allocations: 10.25 kB / 0.9598 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.8014, allocations: 0 / 0.9598 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.8014, allocations: 5.375 kB / 0.9598 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.8014, allocations: 5.438 kB / 0.9598 GB, free: 4.086 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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 5.179e-05/0.8015, allocations: 107.3 kB / 0.9599 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.8015, allocations: 9.219 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.8017, allocations: 82.62 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8017, allocations: 5.438 kB / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8017, allocations: 0 / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8018, allocations: 0 / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.622e-05/0.8018, allocations: 163.4 kB / 0.9602 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8018, allocations: 5.688 kB / 0.9602 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.8019, allocations: 15.22 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8019, allocations: 0 / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.8019, allocations: 0 / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8019, allocations: 1.75 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8019, allocations: 0 / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.802, allocations: 89.09 kB / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.8021, allocations: 82.91 kB / 0.9604 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.8021, allocations: 5.75 kB / 0.9604 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.8021, allocations: 4 kB / 0.9604 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.8022, allocations: 5.766 kB / 0.9604 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.8022, allocations: 1.812 kB / 0.9604 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.811e-05/0.8022, allocations: 77.06 kB / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8022, allocations: 0 / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002395/0.8024, allocations: 48.59 kB / 0.9605 GB, free: 3.395 MB / 0.7169 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 (5): * Single equations (assignments): 5 * 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.0003447/0.8028, allocations: 165.7 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8029, allocations: 28.48 kB / 0.9607 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8029, allocations: 0 / 0.9607 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.803, allocations: 18.98 kB / 0.9607 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.8031, allocations: 11.72 kB / 0.9607 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.8034, allocations: 161.7 kB / 0.9609 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.8035, allocations: 0.6824 MB / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.8036, allocations: 14.12 kB / 0.9616 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8036, allocations: 0 / 0.9616 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of Templates: time 0.002611/0.8062, allocations: 1.029 MB / 0.9626 GB, free: 1.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches