Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 92.08 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.001487/0.001487, allocations: 177.4 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.41/1.41, 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.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003931, allocations: 16 kB / 0.8166 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.811, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00139/0.8124, allocations: 1.016 MB / 0.9567 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.8136, allocations: 0.7622 MB / 0.9574 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.8137, allocations: 5.344 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.8137, allocations: 0 / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.8137, allocations: 7.922 kB / 0.9575 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.8143, allocations: 145.9 kB / 0.9576 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.8143, allocations: 23.38 kB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.8144, allocations: 2.375 kB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.8144, allocations: 12.27 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.8145, allocations: 9.062 kB / 0.9576 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.8145, allocations: 1.438 kB / 0.9576 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.815, allocations: 290.4 kB / 0.9579 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.815, allocations: 7.922 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.8151, allocations: 38.72 kB / 0.958 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.8153, allocations: 111.6 kB / 0.9581 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8153, allocations: 1.656 kB / 0.9581 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8153, allocations: 3.938 kB / 0.9581 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8153, allocations: 0 / 0.9581 GB, free: 5.852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003822/0.8157, allocations: 364 kB / 0.9584 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8158, allocations: 14 kB / 0.9584 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.816, allocations: 18.47 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.8161, allocations: 165.9 kB / 0.9586 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8161, allocations: 1.875 kB / 0.9586 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.8161, allocations: 5.719 kB / 0.9586 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.8163, allocations: 51.45 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.8163, allocations: 1.594 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8163, allocations: 3.938 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.8163, allocations: 5.562 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.8164, allocations: 24.05 kB / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.8165, allocations: 157 kB / 0.9589 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.8166, allocations: 62.22 kB / 0.9589 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.8167, allocations: 27.61 kB / 0.9589 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.8167, allocations: 1.781 kB / 0.9589 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.8168, allocations: 36.38 kB / 0.959 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.8168, allocations: 0 / 0.959 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000212/0.817, allocations: 81.36 kB / 0.9591 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.817, allocations: 51.41 kB / 0.9591 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.8171, allocations: 91.3 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.8171, allocations: 30.98 kB / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.262e-05/0.8171, allocations: 80.14 kB / 0.9593 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.8171, allocations: 22.34 kB / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.8172, allocations: 23.05 kB / 0.9593 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.8172, allocations: 316.2 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.8173, allocations: 10.38 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.8173, allocations: 14.58 kB / 0.9597 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.8174, allocations: 32.14 kB / 0.9597 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8174, allocations: 1.375 kB / 0.9597 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.341e-05/0.8175, allocations: 62.31 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8175, allocations: 5.5 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.8175, allocations: 3.938 kB / 0.9598 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8175, allocations: 4 kB / 0.9598 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.8177, allocations: 20.3 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8177, allocations: 0 / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.8177, allocations: 9.281 kB / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8177, allocations: 1.375 kB / 0.9598 GB, free: 4.074 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 (6): * Single equations (assignments): 6 * 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.24e-05/0.8178, allocations: 108.5 kB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.8178, allocations: 1.312 kB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.818, allocations: 98.27 kB / 0.96 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.818, allocations: 5 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.818, allocations: 1 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.818, allocations: 0 / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.8181, allocations: 161.9 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8181, allocations: 3.938 kB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.8182, allocations: 21.36 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8182, allocations: 0 / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8183, allocations: 9.281 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8183, allocations: 0 / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8183, allocations: 1.625 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.8184, allocations: 94.86 kB / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.8184, allocations: 78.52 kB / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.8185, allocations: 9.125 kB / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.8185, allocations: 1.875 kB / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.8186, allocations: 5.641 kB / 0.9604 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.8186, allocations: 14.5 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.8186, allocations: 75.28 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8186, allocations: 1.406 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001948/0.8188, allocations: 11.78 kB / 0.9605 GB, free: 3.375 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 (7): * Single equations (assignments): 7 * 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 9.488e-05/0.8189, allocations: 101.6 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.819, allocations: 41.36 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.819, allocations: 1.312 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.8191, allocations: 33.17 kB / 0.9606 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.8193, allocations: 4.969 kB / 0.9606 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.8196, allocations: 174.3 kB / 0.9608 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.8197, allocations: 0.6796 MB / 0.9615 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.8197, allocations: 10.91 kB / 0.9615 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.8197, allocations: 0 / 0.9615 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.001859/0.8216, allocations: 0.588 MB / 0.9621 GB, free: 2.07 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches