Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.89 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.802, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002425/0.8045, allocations: 1.514 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.959, allocations: 132.5 MB / 1.402 GB, free: 5.746 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.9591, allocations: 1.156 kB / 1.402 GB, free: 5.746 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.9591, allocations: 3.938 kB / 1.402 GB, free: 5.742 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.9592, allocations: 16.97 kB / 1.402 GB, free: 5.727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.9596, allocations: 67.2 kB / 1.402 GB, free: 5.68 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.9597, allocations: 48.89 kB / 1.402 GB, free: 5.652 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.9598, allocations: 13.11 kB / 1.402 GB, free: 5.645 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.9598, allocations: 23.7 kB / 1.402 GB, free: 5.629 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.9599, allocations: 27.11 kB / 1.402 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.9599, allocations: 3.844 kB / 1.402 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.96, allocations: 22.36 kB / 1.402 GB, free: 5.598 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.96, allocations: 13.09 kB / 1.402 GB, free: 5.586 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.9601, allocations: 22.5 kB / 1.402 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.9602, allocations: 61.81 kB / 1.403 GB, free: 5.527 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9602, allocations: 5.25 kB / 1.403 GB, free: 5.523 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9602, allocations: 0 / 1.403 GB, free: 5.523 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9603, allocations: 0 / 1.403 GB, free: 5.523 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005496/0.9608, allocations: 371.5 kB / 1.403 GB, free: 5.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9608, allocations: 8.531 kB / 1.403 GB, free: 5.137 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.9609, allocations: 36 kB / 1.403 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.9609, allocations: 3.531 kB / 1.403 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.9611, allocations: 180.2 kB / 1.403 GB, free: 4.883 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.9611, allocations: 5.781 kB / 1.403 GB, free: 4.879 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.9611, allocations: 1.594 kB / 1.403 GB, free: 4.879 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.9613, allocations: 74.14 kB / 1.403 GB, free: 4.824 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9614, allocations: 5.25 kB / 1.403 GB, free: 4.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.9614, allocations: 4 kB / 1.403 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9614, allocations: 1.25 kB / 1.403 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.9617, allocations: 69.61 kB / 1.403 GB, free: 4.785 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.9621, allocations: 286.6 kB / 1.404 GB, free: 4.473 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.9623, allocations: 52.5 kB / 1.404 GB, free: 4.434 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.9624, allocations: 38.86 kB / 1.404 GB, free: 4.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.9626, allocations: 89.22 kB / 1.404 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.9626, allocations: 31.72 kB / 1.404 GB, free: 4.273 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.9626, allocations: 0 / 1.404 GB, free: 4.273 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0005349/0.9631, allocations: 143 kB / 1.404 GB, free: 4.184 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.9632, allocations: 52.44 kB / 1.404 GB, free: 4.121 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.9633, allocations: 112 kB / 1.404 GB, free: 4.016 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.9633, allocations: 25.7 kB / 1.404 GB, free: 3.984 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.9634, allocations: 95.42 kB / 1.404 GB, free: 3.891 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9634, allocations: 13.12 kB / 1.404 GB, free: 3.879 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.9634, allocations: 11.88 kB / 1.404 GB, free: 3.863 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9636, allocations: 325.3 kB / 1.404 GB, free: 3.539 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.9637, allocations: 32.39 kB / 1.404 GB, free: 3.523 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.9638, allocations: 29.81 kB / 1.405 GB, free: 3.512 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.9641, allocations: 83.86 kB / 1.405 GB, free: 3.461 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9641, allocations: 0 / 1.405 GB, free: 3.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.9644, allocations: 103.7 kB / 1.405 GB, free: 3.395 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.9644, allocations: 5.938 kB / 1.405 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9644, allocations: 0 / 1.405 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9645, allocations: 1.375 kB / 1.405 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.9646, allocations: 22.62 kB / 1.405 GB, free: 3.383 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.9646, allocations: 0 / 1.405 GB, free: 3.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.9647, allocations: 10.45 kB / 1.405 GB, free: 3.379 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9647, allocations: 1.562 kB / 1.405 GB, free: 3.379 MB / 1.092 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 8.472e-05/0.9648, allocations: 115.7 kB / 1.405 GB, free: 3.258 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.9648, allocations: 6.703 kB / 1.405 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.9651, allocations: 113.1 kB / 1.405 GB, free: 3.168 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.9651, allocations: 1.375 kB / 1.405 GB, free: 3.168 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.9651, allocations: 0 / 1.405 GB, free: 3.168 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9651, allocations: 3.984 kB / 1.405 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.9653, allocations: 175.5 kB / 1.405 GB, free: 2.953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9653, allocations: 0 / 1.405 GB, free: 2.953 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/0.9654, allocations: 18.41 kB / 1.405 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9654, allocations: 0 / 1.405 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.9654, allocations: 5.094 kB / 1.405 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9654, allocations: 0 / 1.405 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9654, allocations: 1.656 kB / 1.405 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.9658, allocations: 196.1 kB / 1.405 GB, free: 2.773 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.9659, allocations: 83.19 kB / 1.405 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.9659, allocations: 4 kB / 1.405 GB, free: 2.672 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.966, allocations: 15.48 kB / 1.405 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.966, allocations: 5.375 kB / 1.405 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.966, allocations: 1.469 kB / 1.405 GB, free: 2.66 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.9661, allocations: 95.67 kB / 1.406 GB, free: 2.574 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.9661, allocations: 1.125 kB / 1.406 GB, free: 2.574 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002219/0.9663, allocations: 15.62 kB / 1.406 GB, free: 2.57 MB / 1.092 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.0007/0.967, allocations: 0.7413 MB / 1.406 GB, free: 1.867 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.9673, allocations: 73.95 kB / 1.406 GB, free: 1.832 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.9673, allocations: 1.188 kB / 1.406 GB, free: 1.832 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.9675, allocations: 32.22 kB / 1.406 GB, free: 1.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.9678, allocations: 20.83 kB / 1.406 GB, free: 1.805 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.9696, allocations: 1.425 MB / 1.408 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.9699, allocations: 0.684 MB / 1.408 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.97, allocations: 6.406 kB / 1.408 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.97, allocations: 18.28 kB / 1.408 GB, free: 15.77 MB / 1.107 GB Notification: Performance of SimCode: time 4.81e-07/0.97, allocations: 1.375 kB / 1.408 GB, free: 15.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.9944, allocations: 2.053 MB / 1.41 GB, free: 14.68 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.956, allocations: 7.938 kB / 1.411 GB, free: 14.67 MB / 1.107 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.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: 13.27760866999597]