Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 107.7 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 68.59 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3203, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002447/0.3227, allocations: 1.293 MB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3241, allocations: 0.8376 MB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.3241, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.3242, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.3242, allocations: 3.938 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.3247, allocations: 131.4 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.3247, allocations: 27.86 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3248, allocations: 4 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.3248, allocations: 15.98 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.3249, allocations: 7.938 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3249, allocations: 4 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.3252, allocations: 175.7 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3252, allocations: 3.984 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.3252, allocations: 11.94 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3255, allocations: 123.8 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3255, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3255, allocations: 4 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3255, allocations: 0 / 1.323 GB, free: 0.7109 MB / 1.014 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.0004518/0.3259, allocations: 371.1 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.326, allocations: 11.98 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.326, allocations: 30.75 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.326, allocations: 4.938 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3262, allocations: 168.3 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.3263, allocations: 38.33 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3263, allocations: 384 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3264, allocations: 46 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3264, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3264, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3264, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.3265, allocations: 15.92 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.3267, allocations: 161.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3269, allocations: 38.61 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.3269, allocations: 20.94 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.3272, allocations: 178.2 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3273, allocations: 38.5 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.895e-06/0.3273, allocations: 7.922 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002701/0.3275, allocations: 69.61 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.3276, allocations: 55.41 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.3277, allocations: 101.8 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3277, allocations: 25.7 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3277, allocations: 80.14 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3277, allocations: 19.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.3278, allocations: 13.72 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3279, allocations: 314.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.328, allocations: 11.98 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.328, allocations: 8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.3281, allocations: 32.84 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3281, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3282, allocations: 57.61 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3282, allocations: 9.656 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3283, allocations: 4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3283, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.3283, allocations: 4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3283, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.3284, allocations: 8 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3284, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 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 8.429e-05/0.3284, allocations: 113.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3285, allocations: 7.891 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.3286, allocations: 69.11 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3286, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3287, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3287, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3288, allocations: 161.6 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3288, allocations: 0 / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.3288, allocations: 8 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.3288, allocations: 3.938 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3288, allocations: 7.984 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3289, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3289, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.329, allocations: 85.62 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.3291, allocations: 88.98 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3291, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.3291, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3292, allocations: 3.984 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3292, allocations: 11.98 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3292, allocations: 79.27 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3292, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002448/0.3295, allocations: 35.81 kB / 1.326 GB, free: 13.73 MB / 1.029 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.0006058/0.3301, allocations: 0.663 MB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.3302, allocations: 27.92 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3302, allocations: 0 / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.3303, allocations: 19.98 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3305, allocations: 6.062 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.331, allocations: 180.4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3313, allocations: 0.6807 MB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.3313, allocations: 4 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.3313, allocations: 11.44 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3313, allocations: 0 / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3552, allocations: 2.004 MB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.415, allocations: 19.78 kB / 1.329 GB, free: 10.14 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.108379849931225]