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.007573/0.007573, allocations: 100.6 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.002004/0.002004, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.27 kB / 0.9504 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2539, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002526/0.2565, allocations: 1.278 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2577, allocations: 0.7688 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2578, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2578, allocations: 3.844 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.2579, allocations: 15.86 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.2584, allocations: 159.3 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.2585, allocations: 27.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.2586, allocations: 7.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.2586, allocations: 7.984 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.2587, allocations: 11.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.2587, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.2591, allocations: 287.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.2592, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.2592, allocations: 7.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.2595, allocations: 183.3 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2595, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2595, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2595, allocations: 4 kB / 1.09 GB, free: 15.23 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.0003964/0.2599, allocations: 359.5 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.26, allocations: 8.031 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.26, allocations: 34.73 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.2602, allocations: 24.91 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.2603, allocations: 160.4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2603, allocations: 8.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2604, allocations: 384 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2605, allocations: 50.23 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2605, allocations: 11.88 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2605, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2605, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.2606, allocations: 19.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.2608, allocations: 173.5 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2609, allocations: 62.66 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.2609, allocations: 24.89 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.261, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.261, allocations: 34.56 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.261, allocations: 7.875 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002055/0.2612, allocations: 77.62 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.2613, allocations: 51.41 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.2614, allocations: 101.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2614, allocations: 25.7 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.2614, allocations: 80.14 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2615, allocations: 19.72 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.2615, allocations: 21.7 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2616, allocations: 310.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.2617, allocations: 16 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.2617, allocations: 15.92 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.458e-05/0.2618, allocations: 40.92 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2618, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001051/0.2619, allocations: 65.69 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2619, allocations: 7.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2619, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2619, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2621, allocations: 15.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2621, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.2621, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2621, allocations: 4.438 kB / 1.092 GB, free: 13.2 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 7.682e-05/0.2622, allocations: 121.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2622, allocations: 7.938 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.2624, allocations: 89.52 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2625, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2625, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2625, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2626, allocations: 165.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2626, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.2627, allocations: 15.98 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2627, allocations: 3.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2627, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2627, allocations: 3.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2627, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.2629, allocations: 97.11 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.2629, allocations: 85.05 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.263, allocations: 7.938 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.263, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.263, allocations: 7.984 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2631, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.2631, allocations: 79.28 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2631, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000187/0.2633, allocations: 8 kB / 1.093 GB, free: 12.4 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.0003575/0.2636, allocations: 0.6521 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2638, allocations: 31.98 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2638, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.2638, allocations: 31.92 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.264, allocations: 5.688 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.2645, allocations: 164.3 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2647, allocations: 0.6806 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.2648, allocations: 4 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.2648, allocations: 15.44 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2648, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.2835, allocations: 1.427 MB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.62, allocations: 13.17 kB / 1.096 GB, free: 9.434 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