Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.001301/0.001302, 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.001364/0.001364, allocations: 194.3 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 461.8 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.5 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002702/0.299, allocations: 1.337 MB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3004, allocations: 0.8568 MB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.3005, allocations: 0 / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.3005, allocations: 0 / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.3006, allocations: 7.938 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3011, allocations: 119.5 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.3011, allocations: 27.86 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.3012, allocations: 3.984 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.3012, allocations: 8 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3013, allocations: 15.92 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3013, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.3017, allocations: 167.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3017, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3017, allocations: 23.92 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.302, allocations: 120 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.302, allocations: 4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.22e-07/0.302, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.302, allocations: 0 / 1.055 GB, free: 5.465 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004186/0.3024, allocations: 355.5 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3025, allocations: 11.97 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.3025, allocations: 34.73 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3025, allocations: 8.938 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3027, allocations: 164.3 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.3027, allocations: 34.27 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.3027, allocations: 384 / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.3029, allocations: 46 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3029, allocations: 7.922 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3029, allocations: 4 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3029, allocations: 0 / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.708e-05/0.303, allocations: 15.98 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3032, allocations: 161.7 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3034, allocations: 42.56 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.3034, allocations: 12.86 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.3037, allocations: 182.3 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3038, allocations: 38.5 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3038, allocations: 0 / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002516/0.304, allocations: 69.61 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.3041, allocations: 51.41 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.3041, allocations: 106 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3042, allocations: 29.7 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.3042, allocations: 80.14 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3042, allocations: 19.75 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3043, allocations: 17.72 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.3044, allocations: 314.8 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.3044, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.3045, allocations: 15.98 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/0.3046, allocations: 28.78 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3046, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.3047, allocations: 61.69 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3047, allocations: 7.938 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3047, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3048, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.3048, allocations: 11.98 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3048, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.3049, allocations: 3.938 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3049, allocations: 4 kB / 1.057 GB, free: 3.281 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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.705e-05/0.305, allocations: 109.8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.305, allocations: 15.84 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.3052, allocations: 65.11 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3052, allocations: 0 / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3052, allocations: 0 / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3052, allocations: 4 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3053, allocations: 157.7 kB / 1.057 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3053, allocations: 0 / 1.057 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.3054, allocations: 8 kB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3054, allocations: 3.938 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3054, allocations: 8 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3054, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3054, allocations: 0 / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3056, allocations: 85.05 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3056, allocations: 89.05 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3057, allocations: 3.984 kB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.3057, allocations: 0 / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3057, allocations: 8 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3058, allocations: 0 / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.3058, allocations: 83.69 kB / 1.057 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.505e-06/0.3058, allocations: 0 / 1.057 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002337/0.306, allocations: 43.88 kB / 1.057 GB, free: 2.508 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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.0005356/0.3066, allocations: 0.667 MB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3067, allocations: 31.97 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3067, allocations: 0 / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.3068, allocations: 12 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.307, allocations: 11.98 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.3074, allocations: 170.5 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.3077, allocations: 0.6731 MB / 1.059 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.3077, allocations: 15.78 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3078, allocations: 11.44 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3078, allocations: 4 kB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.3388, allocations: 1.774 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.339, allocations: 224.9 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.088, allocations: 1.375 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches