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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.12 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2622, allocations: 157.4 MB / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002317/0.2645, allocations: 1.274 MB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2658, allocations: 0.841 MB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.2658, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.2658, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.2659, allocations: 11.92 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.2664, allocations: 127.4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.2665, allocations: 35.84 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2665, allocations: 3.984 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.2666, allocations: 11.98 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.2666, allocations: 11.94 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2666, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.267, allocations: 167.7 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.267, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.267, allocations: 19.92 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2673, allocations: 116.1 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2673, allocations: 7.938 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2673, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2673, allocations: 0 / 1.055 GB, free: 5.559 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.0004209/0.2677, allocations: 355.5 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2678, allocations: 8.031 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2678, allocations: 38.73 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2678, allocations: 0.9375 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.2679, allocations: 176.3 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.268, allocations: 26.27 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.268, allocations: 4.375 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2682, allocations: 53.92 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2682, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2682, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2682, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.2683, allocations: 19.98 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2684, allocations: 157.7 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2686, allocations: 46.56 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.2687, allocations: 12.86 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.269, allocations: 178.3 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.269, allocations: 46.44 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.269, allocations: 0 / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002299/0.2693, allocations: 65.67 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2693, allocations: 51.41 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.2694, allocations: 97.84 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2694, allocations: 29.7 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.2694, allocations: 80.14 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2694, allocations: 7.812 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2695, allocations: 25.66 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.2696, allocations: 322.8 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.2696, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.2697, allocations: 15.92 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.2698, allocations: 29.31 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2698, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.2699, allocations: 53.69 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2699, allocations: 11.94 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.27, allocations: 4.047 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.27, allocations: 3.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.27, allocations: 7.984 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.27, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.2701, allocations: 7.938 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2701, allocations: 0 / 1.057 GB, free: 3.379 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 7.123e-05/0.2702, allocations: 117.8 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2702, allocations: 7.844 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.2704, allocations: 69.17 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2704, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2704, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2704, allocations: 3.984 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.486e-05/0.2705, allocations: 157.7 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2705, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.2705, allocations: 8 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2706, allocations: 3.938 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2706, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2706, allocations: 8 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2706, allocations: 3.938 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2707, allocations: 81.11 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.2708, allocations: 85.05 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2708, allocations: 3.984 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.2709, allocations: 4 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.2709, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.2709, allocations: 8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.2709, allocations: 79.27 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2709, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002303/0.2712, allocations: 39.94 kB / 1.058 GB, free: 2.605 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.0004893/0.2717, allocations: 0.6591 MB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2718, allocations: 31.98 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2718, allocations: 0 / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.2719, allocations: 15.92 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2721, allocations: 11.94 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.2725, allocations: 165.2 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2727, allocations: 0.6729 MB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.2728, allocations: 16.3 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.2728, allocations: 15.44 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.2728, allocations: 0 / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2899, allocations: 1.925 MB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.191, allocations: 1.125 kB / 1.061 GB, free: 15.09 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