Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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.001649/0.001649, allocations: 109.4 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.002057/0.002057, allocations: 218.6 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8 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.306/3.306, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_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.002012/0.002012, allocations: 59.91 kB / 1.154 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4194, allocations: 176.1 MB / 1.326 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002526/0.4219, allocations: 1.309 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.603, allocations: 135.2 MB / 1.459 GB, free: 9.078 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.6031, allocations: 0 / 1.459 GB, free: 9.078 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.6031, allocations: 0 / 1.459 GB, free: 9.078 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.6031, allocations: 7.938 kB / 1.459 GB, free: 9.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.6036, allocations: 63.92 kB / 1.459 GB, free: 9.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6037, allocations: 19.86 kB / 1.459 GB, free: 8.988 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.6037, allocations: 4 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.6037, allocations: 8 kB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.6038, allocations: 15.92 kB / 1.459 GB, free: 8.961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6038, allocations: 0 / 1.459 GB, free: 8.961 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.6039, allocations: 19.94 kB / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.6039, allocations: 11.98 kB / 1.459 GB, free: 8.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.604, allocations: 7.938 kB / 1.459 GB, free: 8.922 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.6041, allocations: 23.97 kB / 1.459 GB, free: 8.898 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6041, allocations: 3.938 kB / 1.459 GB, free: 8.895 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6041, allocations: 0 / 1.459 GB, free: 8.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6041, allocations: 3.938 kB / 1.459 GB, free: 8.891 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004534/0.6046, allocations: 262.3 kB / 1.46 GB, free: 8.602 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6046, allocations: 8.031 kB / 1.46 GB, free: 8.594 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.6046, allocations: 34.75 kB / 1.46 GB, free: 8.551 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.6047, allocations: 0.9375 kB / 1.46 GB, free: 8.551 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.6048, allocations: 110.5 kB / 1.46 GB, free: 8.418 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.6049, allocations: 55.97 kB / 1.46 GB, free: 8.352 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6049, allocations: 8.359 kB / 1.46 GB, free: 8.344 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.605, allocations: 41.94 kB / 1.46 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.605, allocations: 0 / 1.46 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.605, allocations: 4 kB / 1.46 GB, free: 8.293 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6051, allocations: 0 / 1.46 GB, free: 8.293 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.6051, allocations: 15.98 kB / 1.46 GB, free: 8.277 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.6053, allocations: 128.7 kB / 1.46 GB, free: 8.109 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.6054, allocations: 30.58 kB / 1.46 GB, free: 8.07 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.6055, allocations: 12.94 kB / 1.46 GB, free: 8.055 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.6056, allocations: 19.92 kB / 1.46 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.6057, allocations: 34.5 kB / 1.46 GB, free: 7.992 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.6057, allocations: 0 / 1.46 GB, free: 7.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002649/0.6059, allocations: 61.64 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.606, allocations: 55.39 kB / 1.46 GB, free: 7.859 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6061, allocations: 93.86 kB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6061, allocations: 29.7 kB / 1.46 GB, free: 7.723 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.6062, allocations: 80.14 kB / 1.46 GB, free: 7.641 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.6062, allocations: 7.953 kB / 1.46 GB, free: 7.633 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.6062, allocations: 17.7 kB / 1.46 GB, free: 7.609 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6064, allocations: 314.8 kB / 1.461 GB, free: 7.293 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.6064, allocations: 4 kB / 1.461 GB, free: 7.289 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.6065, allocations: 15.92 kB / 1.461 GB, free: 7.273 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.6066, allocations: 24.84 kB / 1.461 GB, free: 7.246 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6066, allocations: 0 / 1.461 GB, free: 7.246 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.6067, allocations: 49.69 kB / 1.461 GB, free: 7.191 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6067, allocations: 7.938 kB / 1.461 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6067, allocations: 3.938 kB / 1.461 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6067, allocations: 0 / 1.461 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.6068, allocations: 4 kB / 1.461 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6068, allocations: 4 kB / 1.461 GB, free: 7.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.6068, allocations: 8.453 kB / 1.461 GB, free: 7.164 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.6069, allocations: 4 kB / 1.461 GB, free: 7.16 MB / 1.154 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 (3): * Single equations (assignments): 3 * 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.983e-05/0.607, allocations: 118.3 kB / 1.461 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.607, allocations: 3.938 kB / 1.461 GB, free: 7.031 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.6071, allocations: 61.34 kB / 1.461 GB, free: 6.957 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6071, allocations: 3.938 kB / 1.461 GB, free: 6.953 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6071, allocations: 4 kB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6071, allocations: 0 / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.6073, allocations: 124.8 kB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6073, allocations: 0 / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.6073, allocations: 8 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6073, allocations: 3.938 kB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6073, allocations: 0 / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6073, allocations: 0 / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6073, allocations: 4 kB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6075, allocations: 77.05 kB / 1.461 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.6075, allocations: 11.89 kB / 1.461 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.6075, allocations: 4 kB / 1.461 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.6076, allocations: 0 / 1.461 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.6076, allocations: 7.984 kB / 1.461 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.6076, allocations: 0 / 1.461 GB, free: 6.652 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.6077, allocations: 83.28 kB / 1.461 GB, free: 6.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6077, allocations: 0 / 1.461 GB, free: 6.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001928/0.6078, allocations: 11.94 kB / 1.461 GB, free: 6.559 MB / 1.154 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 (3): * Single equations (assignments): 3 * 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.0005191/0.6084, allocations: 0.628 MB / 1.462 GB, free: 5.898 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.6085, allocations: 15.98 kB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6085, allocations: 0 / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.6086, allocations: 12 kB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.6088, allocations: 7.984 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.6093, allocations: 163.3 kB / 1.462 GB, free: 5.664 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.6096, allocations: 0.6806 MB / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.6097, allocations: 0 / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.6097, allocations: 19.44 kB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of SimCode: time 4e-07/0.6097, allocations: 0 / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.6449, allocations: 1.48 MB / 1.464 GB, free: 3.598 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.36, allocations: 5.641 kB / 1.464 GB, free: 3.598 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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.563250993996917]