Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.000821/0.000821, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005002/0.005002, allocations: 170.1 kB / 16.27 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003716, allocations: 8.594 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001559/0.2779, allocations: 1.221 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2792, allocations: 0.8102 MB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.2792, allocations: 0 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2792, allocations: 7.938 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.2793, allocations: 7.922 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2797, allocations: 111.6 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.2798, allocations: 51.8 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.2799, allocations: 15.97 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.28, allocations: 15.92 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.28, allocations: 19.92 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2801, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.2804, allocations: 183.6 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.2804, allocations: 7.984 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.2805, allocations: 41.58 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2807, allocations: 147.9 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2808, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2808, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2808, allocations: 7.938 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005134/0.2813, allocations: 404.7 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2813, allocations: 11.97 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.2814, allocations: 34.75 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2814, allocations: 8.844 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2815, allocations: 172.3 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2815, allocations: 384 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2816, allocations: 4.375 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.2818, allocations: 86.2 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2819, allocations: 3.938 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2819, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2819, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.2822, allocations: 95.92 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.2826, allocations: 292.6 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2828, allocations: 66.53 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.283, allocations: 52.92 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.2831, allocations: 89.09 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2832, allocations: 30.56 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.404e-06/0.2832, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006015/0.2838, allocations: 177.4 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2838, allocations: 51.41 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.2839, allocations: 113.7 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2839, allocations: 29.7 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.284, allocations: 92.12 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.284, allocations: 7.906 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.284, allocations: 13.72 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2841, allocations: 322.8 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2843, allocations: 43.91 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2845, allocations: 43.97 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2848, allocations: 92.72 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2848, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003541/0.2852, allocations: 121.5 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2852, allocations: 11.98 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2852, allocations: 3.984 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2852, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2853, allocations: 23.98 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2853, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.2854, allocations: 15.98 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2855, allocations: 7.938 kB / 1.064 GB, free: 15.52 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.913e-05/0.2855, allocations: 117.8 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2856, allocations: 11.89 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.286, allocations: 137.8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.286, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.286, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.286, allocations: 4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.2862, allocations: 169.6 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2862, allocations: 3.984 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2863, allocations: 19.98 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2863, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2863, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2863, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2863, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.2867, allocations: 227.3 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2868, allocations: 84.95 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2868, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2869, allocations: 19.98 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.287, allocations: 7.984 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.287, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.287, allocations: 95.7 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.703e-06/0.287, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002769/0.2873, allocations: 31.94 kB / 1.065 GB, free: 14.5 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.000731/0.2881, allocations: 0.7865 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.2884, allocations: 87.92 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2884, allocations: 0 / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.2886, allocations: 47.95 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2889, allocations: 12 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2907, allocations: 1.49 MB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2909, allocations: 0.6848 MB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.291, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.291, allocations: 23.94 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.412e-06/0.291, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.3026, allocations: 2.123 MB / 1.07 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.3028, allocations: 211.1 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.007, allocations: 4.062 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches