Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_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.006194/0.006194, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.00152/0.00152, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.635/2.635, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.14 kB / 1.065 GB, free: 13.57 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002311/0.2901, allocations: 1.28 MB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2913, allocations: 0.8273 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.2914, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2914, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.2914, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.2919, allocations: 135.4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.2919, allocations: 23.92 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.292, allocations: 8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.292, allocations: 7.938 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.2921, allocations: 15.92 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2921, allocations: 4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.2924, allocations: 167.7 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2924, allocations: 8 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2925, allocations: 11.92 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.2927, allocations: 111.7 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2927, allocations: 4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.749e-06/0.2927, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2927, allocations: 7.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 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.0004207/0.2932, allocations: 363.1 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2932, allocations: 8.031 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.2933, allocations: 30.75 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.2933, allocations: 12.88 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2934, allocations: 168.3 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.2935, allocations: 30.27 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.2935, allocations: 384 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2936, allocations: 50 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2936, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2937, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2937, allocations: 3.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.2938, allocations: 19.97 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2939, allocations: 161.7 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2941, allocations: 46.5 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.2942, allocations: 16.86 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.2945, allocations: 182.3 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2945, allocations: 34.5 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2945, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002252/0.2947, allocations: 65.67 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2948, allocations: 59.34 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.2949, allocations: 97.84 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2949, allocations: 29.7 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.2949, allocations: 80.14 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.2949, allocations: 11.91 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.295, allocations: 17.72 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2951, allocations: 314.8 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.2952, allocations: 12 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.2952, allocations: 15.92 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.237e-05/0.2953, allocations: 28.84 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2953, allocations: 0 / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.2955, allocations: 57.64 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2955, allocations: 11.88 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2955, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.2955, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.2956, allocations: 11.98 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2956, allocations: 7.984 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.2956, allocations: 3.938 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2956, allocations: 4 kB / 1.225 GB, free: 9.484 MB / 0.9825 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.418e-05/0.2957, allocations: 109.8 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2957, allocations: 7.938 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.2959, allocations: 61.17 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2959, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2959, allocations: 8.5 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2959, allocations: 7.938 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.296, allocations: 157.7 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.296, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.2961, allocations: 11.98 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2961, allocations: 3.938 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2961, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2961, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2961, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2963, allocations: 93.05 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.2963, allocations: 89.05 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.2964, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.2964, allocations: 3.984 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2964, allocations: 4 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.2965, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.2965, allocations: 83.28 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 3.938 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002085/0.2967, allocations: 35.86 kB / 1.225 GB, free: 8.715 MB / 0.9825 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.0005305/0.2973, allocations: 0.6576 MB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.2974, allocations: 31.97 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2974, allocations: 7.938 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.2975, allocations: 12 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.2977, allocations: 15.98 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.2981, allocations: 164.6 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2983, allocations: 0.6768 MB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.2984, allocations: 12 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.2984, allocations: 19.42 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2984, allocations: 0 / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/1.378, allocations: 1.946 MB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.8, allocations: 6.516 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches