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: "" <> 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.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001707/0.001707, allocations: 195.6 kB / 16.14 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.227/2.227, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5205, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001918/0.5224, allocations: 1.342 MB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.5233, allocations: 0.7748 MB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.5233, allocations: 4 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.5234, allocations: 0 / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.5234, allocations: 13.23 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.5237, allocations: 149.5 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.5238, allocations: 22.41 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.5238, allocations: 2.594 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.5239, allocations: 12.55 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.5239, allocations: 4.719 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.5239, allocations: 1.5 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.5243, allocations: 294.3 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.5243, allocations: 9.203 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.5243, allocations: 7.938 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.5245, allocations: 174.5 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5246, allocations: 0 / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5246, allocations: 1.875 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.5246, allocations: 0 / 0.9518 GB, free: 7.055 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.0002774/0.5248, allocations: 370.7 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.5249, allocations: 8.562 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.145e-05/0.5249, allocations: 36.06 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.5251, allocations: 22.84 kB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.898e-05/0.5252, allocations: 165.4 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.5252, allocations: 1.875 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5252, allocations: 7.312 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.5253, allocations: 51.2 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.5253, allocations: 3.938 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.5253, allocations: 5.219 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5253, allocations: 0 / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.5254, allocations: 25.67 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.7e-05/0.5255, allocations: 160.9 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.5256, allocations: 58.44 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.5257, allocations: 23.14 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.5257, allocations: 1.031 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.5257, allocations: 39.69 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.5257, allocations: 0.9062 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001529/0.5259, allocations: 88.42 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.5259, allocations: 52.81 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.767e-05/0.5259, allocations: 91.42 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.5259, allocations: 25.7 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-06/0.5259, allocations: 81.64 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.526, allocations: 18.22 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.526, allocations: 25.83 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.526, allocations: 312.1 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.5261, allocations: 10.28 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.5261, allocations: 15.27 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.5261, allocations: 39.58 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5262, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.112e-05/0.5262, allocations: 62.66 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5263, allocations: 9.875 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5263, allocations: 7.938 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5263, allocations: 1.531 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.5264, allocations: 15.3 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5264, allocations: 0 / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.5265, allocations: 10.31 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5265, allocations: 1.25 kB / 0.9536 GB, free: 5.227 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 4.164e-05/0.5265, allocations: 111.3 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5265, allocations: 9.453 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.5267, allocations: 95.36 kB / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5267, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5267, allocations: 1.281 kB / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5267, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.291e-05/0.5268, allocations: 161.2 kB / 0.9539 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5268, allocations: 1.219 kB / 0.9539 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.5269, allocations: 16.36 kB / 0.9539 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5269, allocations: 9.406 kB / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5269, allocations: 0 / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5269, allocations: 1.469 kB / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5269, allocations: 0 / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.527, allocations: 106.2 kB / 0.954 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.5271, allocations: 79.36 kB / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.5271, allocations: 5 kB / 0.9541 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.5271, allocations: 2.094 kB / 0.9541 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.5272, allocations: 10.3 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5272, allocations: 1.156 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.367e-05/0.5272, allocations: 80.28 kB / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5272, allocations: 0 / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001763/0.5274, allocations: 8.562 kB / 0.9542 GB, free: 4.531 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 0.0002098/0.5276, allocations: 0.6413 MB / 0.9549 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.68e-05/0.5277, allocations: 33.69 kB / 0.9549 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5277, allocations: 1.156 kB / 0.9549 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.5277, allocations: 33.62 kB / 0.9549 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.5279, allocations: 3.906 kB / 0.9549 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.5283, allocations: 179.5 kB / 0.9551 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.5284, allocations: 0.6829 MB / 0.9558 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.5284, allocations: 7 kB / 0.9558 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.5285, allocations: 14.88 kB / 0.9558 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5285, allocations: 0 / 0.9558 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.5629, allocations: 1.279 MB / 0.957 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/0.5631, allocations: 230.6 kB / 0.9573 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.196, allocations: 0 / 0.9573 GB, free: 2.098 MB / 0.7169 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