Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001875/0.001875, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002474/0.002474, allocations: 217 kB / 22.26 MB, free: 5.117 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.016 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.719/2.719, allocations: 476.8 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] 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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",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.002057/0.002057, allocations: 66.25 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 169.9 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2238/0.5564, allocations: 196.6 MB / 1.475 GB, free: 6.402 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007119/0.5635, allocations: 4.053 MB / 1.479 GB, free: 2.344 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.5645, allocations: 27.75 kB / 1.479 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.566, allocations: 489 kB / 1.48 GB, free: 1.836 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.5701, allocations: 1.61 MB / 1.481 GB, free: 224 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.5746, allocations: 1.411 MB / 1.483 GB, free: 14.81 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.5776, allocations: 1.647 MB / 1.484 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.579, allocations: 0.8461 MB / 1.485 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.5811, allocations: 0.9657 MB / 1.486 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.5826, allocations: 0.9267 MB / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.5828, allocations: 100 kB / 1.487 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.5858, allocations: 1.407 MB / 1.489 GB, free: 8.887 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.5863, allocations: 370.9 kB / 1.489 GB, free: 8.523 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.587, allocations: 0.5172 MB / 1.489 GB, free: 8.004 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.59, allocations: 1.666 MB / 1.491 GB, free: 6.332 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.59, allocations: 0 / 1.491 GB, free: 6.332 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.59, allocations: 4 kB / 1.491 GB, free: 6.328 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.59, allocations: 3.938 kB / 1.491 GB, free: 6.324 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0029/0.5929, allocations: 1.192 MB / 1.492 GB, free: 5.098 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5929, allocations: 12.03 kB / 1.492 GB, free: 5.086 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.5931, allocations: 90.52 kB / 1.492 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.5947, allocations: 239.2 kB / 1.493 GB, free: 4.754 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.5958, allocations: 0.5538 MB / 1.493 GB, free: 4.172 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.5958, allocations: 41 kB / 1.493 GB, free: 4.133 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5959, allocations: 52 kB / 1.493 GB, free: 4.082 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5976, allocations: 0.9998 MB / 1.494 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5976, allocations: 4 kB / 1.494 GB, free: 3.004 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.5977, allocations: 28 kB / 1.494 GB, free: 2.977 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.5977, allocations: 27.92 kB / 1.494 GB, free: 2.949 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.5994, allocations: 1.007 MB / 1.495 GB, free: 1.941 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/0.605, allocations: 4.098 MB / 1.499 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.606, allocations: 0.5587 MB / 1.5 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.6068, allocations: 485.9 kB / 1.5 GB, free: 12.63 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007599/0.6075, allocations: 144.3 kB / 1.5 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.6076, allocations: 39 kB / 1.5 GB, free: 12.44 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002398/0.61, allocations: 0.6322 MB / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of pre-optimization done (n=50): time 4.048e-06/0.61, allocations: 0 / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=50): time 0.01811/0.6281, allocations: 3.687 MB / 1.505 GB, free: 8.102 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.6281, allocations: 55.84 kB / 1.505 GB, free: 8.035 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6292, allocations: 0.7077 MB / 1.505 GB, free: 7.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.6294, allocations: 41.69 kB / 1.505 GB, free: 7.273 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.6297, allocations: 316.9 kB / 1.506 GB, free: 6.961 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.6299, allocations: 186.4 kB / 1.506 GB, free: 6.777 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.6301, allocations: 146 kB / 1.506 GB, free: 6.629 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6303, allocations: 326 kB / 1.506 GB, free: 6.305 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.631, allocations: 404.8 kB / 1.507 GB, free: 5.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/0.6318, allocations: 480.8 kB / 1.507 GB, free: 5.418 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.6333, allocations: 0.9258 MB / 1.508 GB, free: 4.465 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6333, allocations: 0 / 1.508 GB, free: 4.465 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01163/0.6449, allocations: 2.549 MB / 1.511 GB, free: 1.902 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.645, allocations: 4 kB / 1.511 GB, free: 1.898 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.645, allocations: 7.984 kB / 1.511 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009779/0.6548, allocations: 1.73 MB / 1.512 GB, free: 156 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.6553, allocations: 91.86 kB / 1.512 GB, free: 64 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.6686, allocations: 6.937 MB / 1.519 GB, free: 8.883 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/0.6695, allocations: 24.05 kB / 1.519 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6696, allocations: 47.92 kB / 1.519 GB, free: 8.812 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004063/0.67, allocations: 205.7 kB / 1.519 GB, free: 8.602 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.6703, allocations: 83.73 kB / 1.519 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.6755, allocations: 1.732 MB / 1.521 GB, free: 6.762 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6755, allocations: 8 kB / 1.521 GB, free: 6.754 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.6755, allocations: 4 kB / 1.521 GB, free: 6.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6755, allocations: 7.984 kB / 1.521 GB, free: 6.742 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/0.6818, allocations: 2.499 MB / 1.524 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6819, allocations: 4.188 kB / 1.524 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.6823, allocations: 95.88 kB / 1.524 GB, free: 4.066 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/0.6858, allocations: 0.798 MB / 1.524 GB, free: 3.262 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.6859, allocations: 16 kB / 1.524 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/0.6931, allocations: 4.646 MB / 1.529 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6931, allocations: 3.938 kB / 1.529 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.6986, allocations: 2.138 MB / 1.531 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.6992, allocations: 163.4 kB / 1.531 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6993, allocations: 16 kB / 1.531 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.6999, allocations: 23.98 kB / 1.531 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.7001, allocations: 52.34 kB / 1.531 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.7002, allocations: 27.98 kB / 1.531 GB, free: 11.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006602/0.7008, allocations: 0.4951 MB / 1.532 GB, free: 11.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7008, allocations: 0 / 1.532 GB, free: 11.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009884/0.7018, allocations: 283.8 kB / 1.532 GB, free: 11.15 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006094/0.7079, allocations: 2.801 MB / 1.535 GB, free: 8.297 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003808/0.7117, allocations: 1.402 MB / 1.536 GB, free: 6.867 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.7117, allocations: 8 kB / 1.536 GB, free: 6.859 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.7136, allocations: 0.8555 MB / 1.537 GB, free: 5.977 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.7158, allocations: 462.7 kB / 1.538 GB, free: 5.531 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.7475, allocations: 10.44 MB / 1.548 GB, free: 10.9 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.7482, allocations: 0.9828 MB / 1.549 GB, free: 9.891 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007422/0.7489, allocations: 166.6 kB / 1.549 GB, free: 9.723 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.7493, allocations: 283.3 kB / 1.549 GB, free: 9.445 MB / 1.248 GB Notification: Performance of SimCode: time 1.222e-06/0.7493, allocations: 0 / 1.549 GB, free: 9.445 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07751/0.8269, allocations: 30.47 MB / 1.579 GB, free: 11.39 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.44, allocations: 7.938 kB / 1.579 GB, free: 11.38 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_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_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pow_2dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.08763162899959]