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.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.001576/0.001576, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002023/0.002023, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [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.002066/0.002066, allocations: 73.86 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4361, allocations: 169.9 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003421/0.4395, allocations: 1.296 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4414, allocations: 0.8469 MB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.4414, allocations: 0 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4415, allocations: 0 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.4415, allocations: 11.81 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.4421, allocations: 143.4 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.4422, allocations: 23.92 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.4423, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.4423, allocations: 15.94 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.4424, allocations: 11.92 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4424, allocations: 0 / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.4429, allocations: 171.8 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.4429, allocations: 4 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.4429, allocations: 23.91 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.4432, allocations: 123.6 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4432, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.347e-06/0.4432, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.4433, allocations: 0 / 1.286 GB, free: 9.004 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.000612/0.4439, allocations: 282 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.4439, allocations: 12.03 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.444, allocations: 30.75 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.444, allocations: 4.938 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4441, allocations: 118.5 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4443, allocations: 55.97 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4443, allocations: 384 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4445, allocations: 46 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4445, allocations: 3.938 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4445, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4445, allocations: 4 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4446, allocations: 15.98 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.4448, allocations: 136.7 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.4451, allocations: 50.59 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.4451, allocations: 12.8 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.4454, allocations: 32.06 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4454, allocations: 38.5 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4454, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.4457, allocations: 69.61 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4457, allocations: 51.41 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.4458, allocations: 102 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4458, allocations: 29.7 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.4459, allocations: 80.14 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.4459, allocations: 11.91 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.4459, allocations: 17.72 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4461, allocations: 314.8 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.4461, allocations: 7.984 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.317e-05/0.4462, allocations: 15.98 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.4463, allocations: 32.73 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4463, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.4464, allocations: 57.67 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4464, allocations: 14.28 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4464, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4464, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.4465, allocations: 8 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4465, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.4465, allocations: 3.984 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.4465, allocations: 0 / 1.288 GB, free: 7.172 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 9.202e-05/0.4466, allocations: 113.8 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.4466, allocations: 11.89 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.4468, allocations: 69.3 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4468, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4468, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4468, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.4469, allocations: 132.7 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4469, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.447, allocations: 7.984 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.447, allocations: 7.938 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.447, allocations: 4 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.447, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.447, allocations: 3.938 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.4472, allocations: 85.05 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.4472, allocations: 7.938 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.4472, allocations: 4 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.4473, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.4473, allocations: 7.984 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4473, allocations: 4 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.4474, allocations: 83.7 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4474, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002429/0.4476, allocations: 35.86 kB / 1.288 GB, free: 6.523 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.0006184/0.4482, allocations: 0.6631 MB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.4484, allocations: 32 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4484, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.4484, allocations: 8 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4487, allocations: 11.98 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.4491, allocations: 171.2 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.4495, allocations: 0.6845 MB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.4495, allocations: 4 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.4495, allocations: 15.42 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4495, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4787, allocations: 2.098 MB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.11, allocations: 14.28 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.157963796998956]