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.001814/0.001814, allocations: 109.2 kB / 16.46 MB, free: 6.508 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.002299/0.002299, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.586/1.586, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.149/3.149, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.002031/0.002031, allocations: 71.53 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002401/0.3347, allocations: 1.3 MB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3361, allocations: 0.826 MB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.3361, allocations: 0 / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.3361, allocations: 7.922 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.3362, allocations: 3.938 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.3367, allocations: 127.5 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.3368, allocations: 31.8 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.3368, allocations: 0 / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.3368, allocations: 11.98 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.3369, allocations: 19.92 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3369, allocations: 0 / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3372, allocations: 171.7 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.3372, allocations: 8 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3373, allocations: 7.938 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.3375, allocations: 123.9 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3375, allocations: 0 / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3375, allocations: 0 / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3375, allocations: 0 / 1.323 GB, free: 0.7227 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.000483/0.338, allocations: 375.1 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.338, allocations: 11.98 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3381, allocations: 34.75 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.3381, allocations: 0.9375 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3382, allocations: 176.3 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.3383, allocations: 26.27 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3383, allocations: 8.312 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3385, allocations: 46.08 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3385, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3385, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3385, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.3386, allocations: 19.98 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3388, allocations: 153.7 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.339, allocations: 50.58 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.339, allocations: 20.8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.3393, allocations: 182.3 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3393, allocations: 34.5 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3393, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.3396, allocations: 65.67 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3397, allocations: 51.41 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.3397, allocations: 109.8 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3397, allocations: 25.7 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3398, allocations: 80.14 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3398, allocations: 15.81 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3398, allocations: 17.72 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.34, allocations: 314.8 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.34, allocations: 11.94 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.3401, allocations: 11.98 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.3402, allocations: 28.86 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3402, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.3403, allocations: 57.67 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3403, allocations: 7.938 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3403, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3403, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.3404, allocations: 8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3404, allocations: 7.922 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.3404, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3404, allocations: 4 kB / 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.012e-05/0.3405, allocations: 109.8 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3405, allocations: 11.89 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3407, allocations: 65.16 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3407, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3407, allocations: 3.938 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3407, allocations: 4 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.3409, allocations: 157.6 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3409, allocations: 4 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.3409, allocations: 12.55 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3409, allocations: 7.875 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3409, allocations: 4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3409, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3409, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3411, allocations: 89.09 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.3412, allocations: 89 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3412, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.3413, allocations: 3.984 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3413, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3413, allocations: 3.938 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.3413, allocations: 83.28 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3413, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002463/0.3416, allocations: 35.86 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.0006438/0.3422, allocations: 0.663 MB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.3424, allocations: 27.97 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3424, allocations: 0 / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.3425, allocations: 11.94 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3427, allocations: 15.98 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.3431, allocations: 174.4 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3435, allocations: 0.6729 MB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.3435, allocations: 8 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.3435, allocations: 15.42 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3435, allocations: 0 / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3671, allocations: 2.01 MB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.792, allocations: 11.98 kB / 1.329 GB, free: 10.14 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.565303031122312]