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.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00779/0.00779, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001957/0.001957, allocations: 193.7 kB / 16.67 MB, free: 6.379 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.313/2.313, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.12 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2345, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002202/0.2367, allocations: 1.278 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2378, allocations: 0.7647 MB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.2379, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.2379, allocations: 3.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.238, allocations: 7.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.2385, allocations: 159.2 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.2386, allocations: 23.88 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.2386, allocations: 7.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.2387, allocations: 7.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.2387, allocations: 11.94 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.2387, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.2392, allocations: 291.5 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.2392, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.2392, allocations: 15.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2395, allocations: 175.3 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2395, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2395, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2395, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 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.0003952/0.2399, allocations: 363.5 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.24, allocations: 8.031 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.24, allocations: 38.75 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.2403, allocations: 20.91 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.2404, allocations: 164.3 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2404, allocations: 4.375 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.2404, allocations: 384 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.2405, allocations: 54.23 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2406, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2406, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2406, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.2407, allocations: 27.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.2408, allocations: 165.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2409, allocations: 62.59 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.241, allocations: 28.89 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.241, allocations: 3.984 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2411, allocations: 30.56 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2411, allocations: 7.938 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001819/0.2413, allocations: 81.61 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.2413, allocations: 55.41 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.2414, allocations: 89.86 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2414, allocations: 29.64 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.2414, allocations: 80.14 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.2414, allocations: 19.72 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.2415, allocations: 25.64 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.2416, allocations: 315 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.2416, allocations: 19.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.2416, allocations: 8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.2417, allocations: 32.86 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2417, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.736e-05/0.2418, allocations: 65.69 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2418, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2418, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2418, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.242, allocations: 23.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.242, allocations: 3.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.242, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.242, allocations: 448 / 1.092 GB, free: 13.18 MB / 0.8575 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 6.683e-05/0.2421, allocations: 117.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2421, allocations: 7.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.2423, allocations: 85.55 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2423, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2423, allocations: 11.94 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2424, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2425, allocations: 165.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2425, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.2426, allocations: 15.98 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2426, allocations: 3.938 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2426, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2426, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2426, allocations: 8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2427, allocations: 93.11 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2428, allocations: 85.05 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2428, allocations: 7.922 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.2429, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2429, allocations: 11.94 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2429, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.2429, allocations: 83.28 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2429, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001887/0.2431, allocations: 8 kB / 1.093 GB, free: 12.38 MB / 0.8575 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 0.0003332/0.2435, allocations: 0.6376 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2436, allocations: 43.92 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2436, allocations: 4.094 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.2436, allocations: 19.98 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.2439, allocations: 9.062 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.2443, allocations: 168.2 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.2445, allocations: 0.6807 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.2445, allocations: 7.984 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.2446, allocations: 11.44 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.2446, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.2613, allocations: 1.444 MB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.979, allocations: 11.89 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > 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