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.001335/0.001335, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001533/0.001533, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.785 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.304/3.304, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002115/0.002115, allocations: 77.05 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002658/0.3666, allocations: 1.293 MB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.368, allocations: 0.7711 MB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.3681, allocations: 4 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.3681, allocations: 0 / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.3681, allocations: 3.938 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.3686, allocations: 127.4 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.3687, allocations: 27.92 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.3688, allocations: 4 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.3688, allocations: 11.92 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.3689, allocations: 11.98 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3689, allocations: 4 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.3693, allocations: 159.7 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3693, allocations: 7.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.3693, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3696, allocations: 123.9 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3696, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3696, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3696, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 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.0004442/0.37, allocations: 286 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3701, allocations: 8.031 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.3701, allocations: 38.69 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3701, allocations: 4.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3702, allocations: 110.5 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.3703, allocations: 59.89 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3703, allocations: 4.375 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3705, allocations: 71.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3705, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3705, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3705, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3706, allocations: 19.98 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.3708, allocations: 132.7 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.371, allocations: 50.5 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.3711, allocations: 8.859 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.3713, allocations: 40.05 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3714, allocations: 34.5 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3714, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002519/0.3716, allocations: 65.86 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3717, allocations: 51.41 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.3717, allocations: 101.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3717, allocations: 29.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.3718, allocations: 84.08 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3718, allocations: 11.91 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.3718, allocations: 21.72 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.372, allocations: 314.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.372, allocations: 12 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.3721, allocations: 7.984 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.3722, allocations: 28.84 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3722, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.3723, allocations: 53.69 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3723, allocations: 7.938 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3723, allocations: 4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3724, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.3724, allocations: 19.92 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3724, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.3725, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.3725, allocations: 0 / 1.329 GB, free: 13.93 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 7.964e-05/0.3725, allocations: 114.3 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.3726, allocations: 11.89 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.3728, allocations: 61.36 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3728, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3728, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3728, allocations: 3.984 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3729, allocations: 124.7 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3729, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3729, allocations: 15.92 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3729, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.373, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.373, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.373, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3731, allocations: 81.12 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3732, allocations: 15.88 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3732, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.3732, allocations: 3.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.3733, allocations: 3.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3733, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.3733, allocations: 79.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3733, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002507/0.3736, allocations: 35.86 kB / 1.33 GB, free: 13.28 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.0005917/0.3741, allocations: 0.6631 MB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.3743, allocations: 27.97 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3743, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.3744, allocations: 15.94 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3746, allocations: 17.38 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.375, allocations: 164.9 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.3751, allocations: 67.34 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.3751, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3751, allocations: 15.44 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3751, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.405, allocations: 2.522 MB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 12.39 kB / 1.333 GB, free: 9.828 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.4527204236947]